How To List The Installed Packages on a Debian Based System

December 29, 2009 by Linerd · 4 Comments
Filed under: HowTo, Ubuntu, command line, linux 

In this tutorial I'm going to show how to list the installed packages on a Debian based operating system, (Debian, Ubuntu, Mint, Sidux, CrunchBang, etc.) I got this gem of a command line one-liner from the Sidux website.

This command is useful if you want to replicate a GNU/Linux installation from one computer to another.

For those who are impatient, I'll cut right to the chase. This command will create a file in your home directory called installed.txt that contains the listing of your installed packages. Open a terminal and enter: Read more

Command Line Basics: Bulk Rename Files With rename

December 18, 2009 by Linerd · 4 Comments
Filed under: HowTo, command line, linux 

Sometimes you get a bunch of files that are named in an annoying way and you'd like to change the naming convention for all of them. Maybe you forgot to change the settings on your CD ripping software and it ended up creating a bunch of long file names that you don't like.

I recently received a bunch of files that stupidly had names starting with spaces and hyphens; ( - ). The files looked something like this:

linerd@laptop:~/demo$ ls -1
 - File number 1.txt
 - File number 2.txt
 - File number 3.txt
 - File number 4.txt
 - File number 5.txt

Starting a file name with a space is just stupid! For 5 files it's no big deal to go in and manually rename them. I had many more files, so I was in search of a tool that could change many files all at once. The aptly named rename terminal command turned out to be a great solution. Read more

Next Page »