bash shell scripting
A shell script is a code (script) written for the shell or command line interpreter of an operating system such…
Simply Explaining Technology
A shell script is a code (script) written for the shell or command line interpreter of an operating system such…
The following code reads files in a directory called SQL. Then if runs an SQL command with the file name…
Recently, I found a really elegant solution to display a file tree using the ls command. I like is so…
Positional parameters are used to pass arguments to a command line application. This post shows you how to used positional…
For loops in bash a similar to commonly used languages such as Perl and C. bash loops do not use…
In bash, you can use the backslash character (“\”) to escape any character. However, if a single quote is inside…
locate command can be used to search for files. Locate command is good at search an index but not great…
The following bash script shows how to capture image properties from ImageMagick: xa.jpg is an image which is stored in…
Error Cause rm can only handle a certain number of arguments. If you run following command in a directory of…
The following code read the contents of a text file To read first five lines only Read five lines and…