Quick Command Line Tip - Recursively Delete Files of a Certain Type

Applications can create a lot of temporary files sometimes, and these files aren't always cleaned up automatically.

An example of this is when you run Python applications. Particularly if you're a Python developer, your source code directories stack up with a .pyc version of each file, which is the cached compiled copy of the script.

To clean up (especially if you're going to do a source commit ...

Click through to read more...

Find files on your system using ‘locate’

Locating files that you know exist, but you can't remember where they are can be frustrating. There are a handful of GUI-based search tools for Linux and Unix, but if you prefer to work in the command line, or don't have one of these special apps installed, you can often fall back on command line tool locate.

The locate command works by querying a database of your files ...

Click through to read more...

Sign In