Programming Tutorials and Coding Guides
Explore programming tutorials with practical examples across multiple languages, scripting, and development concepts for beginners and advanced users.
Welcome to the Programming tutorials section, where you will learn coding concepts with real-world examples across multiple languages and platforms.
This category includes beginner to advanced guides covering scripting, automation, and application development. Whether you are learning programming for system administration or building applications, these tutorials will help you gain practical experience.
Programming plays a crucial role in modern infrastructure and DevOps workflows. You can also explore related topics such as DevOps and Linux to understand how programming integrates with system-level operations.
What you will learn
- Core programming concepts and logic building
- Writing scripts for automation and system tasks
- Debugging and optimizing code
- Practical use cases in real environments
Who should read this
- Beginners starting with coding
- System administrators learning scripting
- Developers looking for practical examples
960 articles
Shell script to check top memory & cpu consuming process in Linux
linux command to find top 5 memory cpu consuming process. how to check high cpu usage process top 10 cpu utilization process check top memory consuming process
How to count occurrences of word in file using shell script in Linux
count occurrences of word in file linux. shell script to count number of words in a file. count occurrences of all words in file linux without using wc command. …
How to find and remove duplicate files using shell script in Linux
Find duplicate files using shell script and remove duplicate files interactively, automatically by calculating hash value of all files in directories in Linux
Print Next Word Before or After Pattern Match [SOLVED]
Print next word after pattern match last word before pattern match, everything in line after pattern match Print content between two matched pattern in Linux
Calculate Loan EMI Amount in Bash script Linux
Calculate loan EMI amount, interest and principle using bash or shell script in Linux with example. The script can be created online and runtime value.
SHELL/BASH: How to create an interactive calculator in Linux
Sample shell script to create an interactive calculator using bc command to perform add, subsctract, multiply. divide, sine, cosine etc mathematical function.
Solved: Add thousands separator comma in number [Linux Bash]
Sample script to add thousands separator using comma in a number (integer or decimal) using shell or bash script in Linux with examples.
SHELL/BASH: Convert space to tabs & use tab in Unix Shell Script with examples
In this article I will share the steps to display equal alignment of multiple columns i.e. to convert space delimited to tab delimited using shell script.
How to check if string contains numbers, letters, characters in bash
Check if string contains numbers check if string contains alphabets numbers check if string contains characters, string contains vowels Bash Compare strings
How to get script execution time from within the shell script in Linux
Find out the elapsed time in minutes using bash script. Shell script execution time. Get script execution time. get command execution time in unix.
10+ Simple Methods to get Script Name and Path in Bash
Get script name in shell script, bash get script path shell, bash get script name, shell get script name from inside the script, Linux find script location
Solved: Check if process is already running in Bash Linux
How to check if process is already running in bash Linux? Determine whether multiple instances of same script or process is still running in background?
How to run shell scripts in parallel & collect exit status of process
Learn to run shell scripts in parallel and collect exit code status of background processes in Linux. bash script run function in parallel wait exit code
How to pass multiple arguments in shell script with examples
How to pass multiple parameters in shell script in Linux or read or pass multiple input arguments in bash shell script function in Linux using case and if.
Bash Remove Element from Array Smoothly [11 Methods]
How to remove or delete elements of one array from another array in bash with examples. Remove element from array or remove content of one array from another …
