bash shell scripting
A shell script is a code (script) written for the shell or command line interpreter of an operating system such as Unix. It allows users to automate tasks which would…
Simply Explaining Technology
A shell script is a code (script) written for the shell or command line interpreter of an operating system such as Unix. It allows users to automate tasks which would…
The following code reads files in a directory called SQL. Then if runs an SQL command with the file name as input. Finally, it deletes the file from the directory.
Advanced Packaging Tool (APT) is used by Debian system to manage package installations. Following are some quick commands: Some common commands that can be used with APT: Installing packages Removing…
DOS commands don’t pack a punch leaving you wishing you could use Linux commands in Windows. Wish granted. You can run Linux commands on Windows. The answer is git bash.…
Recently, I found a really elegant solution to display a file tree using the ls command. I like is so much that I feel the need to share it. The…
Linux processes generally take input from standard input (keyboard), write output to standard out (screen) and may write to standard error if there are any error message which need to…
The easiest way find the process of an application running on the server is to type the following command: This command would output a list of processes. I can see…
Positional parameters are used to pass arguments to a command line application. This post shows you how to used positional parameter in bash. On your terminal, type the following command:…
SSH client can be downloaded from www.openssh.com. To install, do the following: To use, type the following:
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…