Archives For Command Line

At some point you will find it very handy to be able to run the same command on multiple servers. Sure, you could just put a list of IPs in a file and run something against it using a for loop, but gsh is going to make your life much easier.
Continue Reading…


Nano isn’t everyone’s first choice when it comes to the default editor in Ubuntu. First thing I normally do is switch it to vim. Here’s how you can do it..
Continue Reading…


There’s a text file (or output from a command) that needs sorting! You can do just about anything in Linux.. in this extremely short tutorial, we’ll show you how to sort a text file. You can also sort the output of a command.
Continue Reading…


There are a couple ways to remove the last character from a file – scratch that.. tons of ways.. but, we’ll show you a couple ways today.
Continue Reading…

When you want to rename a directory full of files from fooo2 to foo2, you’re first thought is using sed.. why, when rename is easier?
Continue Reading…