Category: Linux

for loop in bash

For loops in bash a similar to commonly used languages such as Perl and C. bash loops do not use curly brackets for body demarcation. Example 1 Loop start from…

Linux: Copy all files with exception

Sometime we need to copy entire directory with the except of a few files or a specific directory. This could easily be accomplished with a regular expression as follows: Note:…

Linux symbolic links

A symbolic link is a link which points to another file. In Microsoft windows, this is referred to as a shortcut and in Macintosh, an alias. To create a symbolic…