Command Line Basics: Create Text Files With tee
The Linux tee command is a way to write the standard output to a file. Or, to quote from the man page documentation,
tee - read from standard input and write to standard output and files
This is a little different from redirecting output to a file. Read more
Command Line Basics: View Text With less
I've shown previously how to use the more command to view text output. Today I'll show how to do the same thing with the less command. You can run the command simply by opening a terminal window and entering less followed by the file name. For example: Read more
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. Read more
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: Read more
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: Read more




