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 rm and rmdir ( commands for linux )

rm 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 )

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