The head command is typically used for displaying the first ten lines of a file but it is a lot more versatile than just performing this function. In this tutorial you will learn how the head command is much more useful than just displaying the first ten lines of a file.
Character classes are an integral part of wildcards. When combining wildcards and character classes you are able to create some very complex patterns that can half your workload while still achieving your desired goal. This tutorial shows you how to use wildcard character classes and demonstrates how they can be used to speed up your work flow when combined with commands.
Having trouble using files that have spaces in there names? Spaces in file names are quite common and don’t have to be a pain. In this tutorial I show you how to work with files and directories that have spaces in their names, using a couple of different techniques.
Find out what type of data is really in a file. The file command is one of those commands that you will find yourself using more often than you first thought. It can tell you if a file is human readable and some other useful information about any file you give it. All without opening the file and possibly crashing your terminal in the process. For the full tutorial on the file command check out this tutorial.
Viewing the content of files using cat works just fine, if all you want is a quick look at a small file. Larger files can prove to be problematic for cat to handle. That is where less comes in. Less provides you with a more flexible view of files and also allows you to do much much more. For a full tutorial on the usage of less with examples check out this video tutorial.
The mv (move command) is one of those commands that has a double function, due to the way that it accomplished its tasks. With the move command you can rename files and directories without moving them as well as move files and directories around, which is what it is designed for. To find out how to use the move command check out this full tutorial.
The cp (copy) command allows you to make copies of files or directories from anywhere in you filesystem to anywhere. Just another one of the basic Shell commands that you will find yourself using very often. For a full tutorial of the usage of cp and some of the pitfalls to avoid check out this tutorial.
Up until now we have been creating files and directories, but how do you remove them? That is where rm and rmdir come in. This tutorial takes you through the usage’s of rm and rmdir. It also covers some of the common pitfalls that you might encounter when using rm and rmdir. Check it out now on youtube.
The mkdir command, standing for make directory is invaluable when using any Linux system. Its sole purpose is to allow you to make directories and directory structures. Using mkdir instead of the GUI to create your directories in a lot faster and actually requires less steps! For a full explanation of mkdir’s usage and some examples click here.