Cygwin

Work

Create And Change To A New Directory In One Command

6:00AM May 11, 2010 | The How-To Geek

Linux/Mac/Cygwin: Creating folders from the terminal and then switching to them can be tedious, especially when the folder names have spaces, but the One Thing Well weblog writes up a simple trick that makes the process simpler. More »


Work

Display Your Public IP Address In The Shell Prompt

5:00AM April 2, 2009 | The How-To Geek

Linux, Mac, or Windows with Cygwin: If you’ve ever needed to display your public IP address, or wanted to add it to your customised desktop with Geektool, a simple command has you covered. More »


Work

MinTTY Gives Cygwin A Native Windows Interface

6:00AM March 27, 2009 | Gina Trapani

Windows only: If you need your Unix command line on a Windows PC, chances are you use a terminal emulator like Cygwin—and if you do, you want to check out MinTTY. The MinTTY terminal window for Cygwin puts a native Windows interface on Cygwin which offers more keyboard shortcuts and colours and styles. Check out the difference between Cygwin and MinTTY side-by-side in the thumbnail above. Using MinTTY you can turn on window transparency, set your font, and colours, copy and paste output by just selecting it with your mouse, and scroll up using the Shift+arrow key combination. (Once it’s installed, right-click on the MinTTY window and choose Options to customise it’s look and keyboard shortcuts.) Here’s what the full MinTTY window with transparency turned on looks like.

More »


Work

Display a List Of Just Subdirectories

6:00AM March 19, 2009 | Lifehacker US Edition

Linux, Mac, or Windows with Cygwin: If you have ever wanted to show a list of subdirectories underneath the current directory while at the terminal prompt, there’s a simple command that can help. Simply run the following command from the bash terminal prompt, which filters the file listing to only show folders:

ls -l | grep ^d

Since typing that whole command every time you want to show a list of directories might get a little tiring, you can use the alias feature to assign it to something you can more easily remember:

alias lsd="ls -l | grep ^d"

Now when you type “lsd” at the prompt, you will see a list containing only the directories, which can be very useful when you are trying to navigate through a messy set of folders. For more on using the command prompt, check out our top 10 command line tools, get your own drop-down Yakuake terminal, or learn to use cron from the command line.

More »


Work

Top 10 Command Line Tools

2:00AM July 31, 2008 | Kevin Purdy

When you need something done quickly, efficiently, and without any software overhead, the command line is where it’s at. It was the first way humans told computers what to do, but as graphics became increasingly important, the command line, or terminal, became an insiders’ secret weapon. But with the right commands and a little bit of know-how, anyone can get things done from a text-only interface. Let’s take a look at 10 commands and tricks that make the terminal more accessible, and more powerful, on any system. Photo by blakepost.

More »


Uncategorized

Use Unix Commands in Windows’ Built-In Command Prompt

2:45AM March 1, 2008 | Kevin Purdy

Lifehacker reader Michael writes in with a nifty tip that was lurking in our comments all along, but deserves to see the bright light of posting. If you’re already using the Unix-like Cygwin, it’s an easy hack to embed Cygwin’s commands into your standard Windows comand prompt; if not, it might be worth checking out the free download. The instructions follow after the jump.

More »