How wildcards work in Linux and Unix

Wildcards The * wildcard The character***is called a wildcard, and will match against none or more character(s) in a file (or directory) name. For example, in yourunixstuff**directory, type % ls list* This will list all files in the current directory...

Redirection in Linux and Unix

 Redirection   Most processes initiated by UNIX commands write to the standard output (that is, they write to the terminal screen), and many take their input from the standard input (that is, they read it from the keyboard). There is...

Unix/Linux Variables

 UNIX Variables Variables are a way of passing information from the shell to programs when you run them. Programs look “in the environment” for particular variables and if they are found will use the values stored. Some are set by...

printf bash command

When writing a bash scripts most of us by default use echo command as means to print to standard output stream. echo is easy to use and mostly it fits our needs without any problem. However, with simplicity very often...

Backup Harddisk Using the dd Command

Overview The dd command is a useful tool for copying one entire hard drive to another. This can be helpful if you want to move your entire computer system to a new hard drive. The trick is making sure you...