BASH Shell commands sort (commands for Linux)

linux sort commandSort is one of those commands that does exactly what is says it does. It sorts stuff. Sort is capable of dealing with numbers, words and even months of the year. Sort can also deal with multiple files and sort them all into one single file.

In this tutorial I show you how to use sort for different types of data and how to change the behaviour of sort.

BASH Shell commands pipes (commands for Linux)

pipes commands for linuxOne of the most powerful, and useful things you can do with IO redirection is to connect up multiple commands with what are known as pipes.

Pipes allow you to take the output from one command and feed, or “pipe” it into the input of another command. It is a technique that is invaluable and you will find yourself using it very often to accomplish a vast array of tasks.

In this tutorial i will show you the basics of how pipes work and some examples of how useful pipes can be.

BASH Shell commands head ( commands for linux )

head commands for linuxThe 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.

BASH Shell commands wildcard character classes ( command for Linux )

wildcard character classesCharacter 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)

wildcards commands for linuxWant 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)

dealing with spaces commands for linuxHaving 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 )

file commands for linuxFind 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 )

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 )

mv move commands for linuxThe 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 )

cp copy commands for linuxThe 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.