Category Archives: System

Clear garbage output from the Terminal

Sometimes you do something like cat /bin/cat and your Terminal fills with characters. The bad part is that you have to clear the screen to get a usable BASH prompt since now everything you type is unintelligible. Clear your Terminal screen with reset Type the word then press the Enter key to get a working… Read More »

sl makes you pay attention

The sl binary is a funny little application that makes you pay attention when you type “ls“. If you have it installed and type sl by accident instead, an ASCII train will roam through your terminal screen instead. Try it.

Set file timestamps from the Linux command line

Creating a file with a different timestamp could be required in your distant future. However, when and if you are required to make one, you can do it with touch -c -t 0811141443 filename Let’s break down the numbers: 0811141443 = YYMMDDHHMM = 2008, November the 14th, 14:43

Check package dependencies with apt-rdepends

apt-rdepends is available on Debian systems and allows one to output the dependency list for a certain package. Use it with apt-rdepends package_name to get not only a dependency list but also dependencies of dependencies.