Tag: Linux

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…

Some quick APT commands

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…

Linux Redirection

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…

Bash: using positional parameter

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:…

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…