Articles about command line’

Feb 21, 2009

Some Really Useful Linux Command Line Tricks

Some Really Useful Linux Command Line Tricks Posted by in Featured, Linux 7 comments

Many people, especially users new to the world of Linux, are afraid of the command line. However, the command line is incredibly powerful, and in many cases can save time, and execute tasks much faster than GUIs. Personally, I love the command line, and what follows is a list of tips and tricks I find […]

Jan 13, 2009

Recursively Search and Replace Terms in Multiple Files with grep, xargs and sed

Posted by in Environment, Linux, Ubuntu 11 comments

I recently offered to update some simple information on a website for a friend – normally an easy enough task, but unfortunately, even though the original developer of the site generated it with PHP, they didn’t utilise a database, or even combine common data/information/text (such as the header and footer of a HTML template) into […]

May 13, 2008

Search file contents in multiple directories with Recursive grep

Posted by in Linux, Ubuntu 4 comments

There are times – many in fact – when I need to find a file, or multiple files containing a particular string. For example, I’m developing a web application, and need to find out which pages call a particular class method, say, all the files which call the getTopTenCDs() method – I can do this […]