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.
Tag Archives: linux basic commands
BASH Shell commands wildcard character classes ( command for Linux )
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.
BASH Shell commands wildcards (commands for linux)
Want to work faster in BASH with less typing? Wildcards is what you need. Check out this tutorial on wildcards that shows you how to use them and some common problems that may occur.Watch here.
BASH Shell commands dealing with spaces (commands for Linux)
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.
BASH Shell commands file ( commands for Linux )
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.
BASH Shell commands less ( commands for linux )
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.
BASH Shell commands mv ( commands for linux )
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.
BASH Shell commands cp ( commands for linux )
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.
BASH Shell commands rm and rmdir ( commands for linux )
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.
BASH Shell commands mkdir ( commands for linux )
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.

