DevOps

How to create Docker Image from a Container and Dockerfile

Docker is an open platform management tool for Linux Containers. It provides a means for developers and system administrators to…

Beginners Guide to The Docker World

Docker: Introduction Docker is an open platform management tool for Linux Containers. It provides a means for developers and system…

Understanding Positional Parameters (Passing Parameters/Arguments to Shell script)

The execution of scripts is made versatile by the ability to run a script based on arguments supplied on the…

Bash if loop examples (if then fi, if then elif fi, if then else fi)

The if Statement The if statement allows you to specify courses of action to be taken in a shell script,…

What is the purpose of .bash_profile file under User Home Directory In Linux

What is the purpose of ~/.bash_profile file Apart from having a home directory to create and store files, users need…

Understanding Variables in Bash Shell Under Linux

What are Variables? A variable is a temporary storage area in memory that is either set by the user, shell,…

How to use command redirection under Linux

Shell metacharacters Shell metacharacters are specific characters, generally symbols, that have special meaning within the shell. The metacharacters supported in…

How to use shell expansions for generating shell tokens under Linux

Shell Expansions While working in a shell, sets or ranges of information are often repeated. Shell expansion helps generate a…

How to use command line shell functions in Linux

Functions, a powerful feature of shell programming, is a group of commands organized by common functionality. These easy-to-manage units, when…

How to use shell aliases in Linux

What is an alias An alias is a shorthand shell notation that allows you to customize and abbreviate commands. Aliases…