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. …
Continue reading How To List The Installed Packages on a Debian Based Systemcommand line
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 …
Continue reading Command Line Basics: Bulk Rename Files With renameThere are times when you will want to trim some information from the output of a command. This may be because you want to feed that output into another command. Whatever the reason for wanting to manipulate the output, awk is one of many tools available in GNU/Linux to perform this task.
Continue reading Command Line Basics: Cut Fields With awkI’ve already shown you how to view files with the cat command. In today’s post I’m going to show you how to use the GNU cat command for its originally intended purpose: for joining multiple files together. For this example we’ll need a couple of text files to start with. Paste the following text into …
Continue reading Command Line Basics: Join Files With catOne of the things you may find you want to do often from your command line is to view the contents of a text file. This could be to view the contents of some startup script or just one of your own basic configuration files like .bashrc or .bash_aliases. The command is simple to use. …
Continue reading Command Line Basics: View Text Files with more