Archives For Command Line

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…


Everyone has somewhere that collects old, useless files. Maybe it’s a backup that keeps rotating but not deleting things.. or large video files ftp’d from your home security system. Here’s an easy way to keep that directory from filling up the drive. We’ll show you the command, then help you to run it nightly in cron.
Continue Reading…


Don’t you wish that your bash history went a little longer? Also, time and date would be super handy! Follow this quick guide to add time and date to your bash history, as well as making it go back further by extending it to 5000 lines.
Continue Reading…


You may want to resize images for a client that is taking up too much space. Do do this, you can use mogrify from ImageMagik

Continue Reading…

There are many reasons you might need to mount your /tmp dir as a separate filesystem. Not doing this is a major security flaw and could potentially allow remote executables to run on your system without your permission.
Continue Reading…