Tag Archives: command line

Command Line Basics: List Hard Drives By UUID

Recent versions of Linux use a unique identifier for hard drives in order to make sure they get mounted to the same location all the time. If you’ve looked into your /etc/fstab file for auto mounting drives, then you’re probably already familiar with the long character strings that are used for UUID’s.

The question is, how do I find out the UUID for each drive on my computer? Well, there’s more than one way to do this, but the simplest is probably the blkid command. Continue reading

Command Line Basics: Monitor Processes With Top

There are many different GUI based process monitors available for Linux systems. It seems that each desktop environment or window manager has its own solution. The one common process monitor is the command line terminal based top command.

Give it a try. To run top, simply open a terminal window and enter: Continue reading

Command Line Basics: Count Files

You may have an occasion that you want to know the number of files in a directory. There are a couple of simple ways to do this. The first way is to list the files with ls and count them with wc. No, wc doesn’t stand for the place you go to relieve yourself; in this case, it stands for word count. The command looks like this: Continue reading

How To Create PDF’s Of GNU/Linux Manpages

If you’re a heavy user of the GNU/Linux command line, then you’re already familiar with the man command. If you’re a newbie, the man command (short for manual, as in RTFM) pulls up the online documentation for terminal commands and outputs it to the same terminal. Perhaps you wish you could have some of these handy documents loaded on your PDA or smartphone as a reference. Continue reading