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
970 articles
Featured guides in this category
Hand-picked, most-cited tutorials — start here if you're new.
![HackerRank Solution: Martix Script [Python Regex]](/matrix-script-hackerrank-solution/python_matrix_script_hu_128db40108208303.webp)
HackerRank Solution: Martix Script [Python Regex]
In this tutorial we will cover multiple methods to solve matrix script from hackerrank solutions.

HackerRank Solution: Python Company Logo
company logo hackerrank solution python, company logo hackerrank solution python3, hackerrank solution for …
![Mastering Python subprocess Module [In-Depth Tutorial]](/python-subprocess/python_subprocess_hu_b6a4c79f22c292e1.webp)
Mastering Python subprocess Module [In-Depth Tutorial]
The different functions available with python subprocess are Popen(), call(), run(), check_call(), …

How to Remove or Uninstall a Go Package (go get, Go Modules, Tools)
Learn how to remove or uninstall a Go package added with go get or go install. This guide explains how to …

HackerRank Solution: Python Alphabet Rangoli
In this tutorial we cover 3 methods to solve alphabet rangloi hackerrank solution in python3. Solution-1: …
![HackerRank Solution: Python Nested Lists [4 Methods]](/python-nested-list-hackerrank-solution/python_nested_lists_hu_3ed8216f6e7dce26.webp)
HackerRank Solution: Python Nested Lists [4 Methods]
In this tutorial we will cover 4 different methods to solve python nested list hackerrank solution using …
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.
Bash format number with commas on Linux: printf, numfmt, and script examples
Bash format number with commas using printf thousands grouping, LC_NUMERIC and GNU numfmt, plus a pure Bash comma formatter for integers and decimals. Covers …
Linux convert tabs to spaces; spaces to tabs in shell scripts (Bash)
Linux convert tabs to spaces with expand; convert runs of spaces to tabs with unexpand; tab in bash with $'\t' and printf; unix shell scripts conversion for …
Bash: check if a string contains text, digits, or a prefix (`[[ ]]`, globs, regex)
Bash patterns to see if a string contains a substring or character, if it is only digits, if it starts with a prefix, and how [[ =~ ]] and globs differ— with …
Bash measure time of command and script (execution time, elapsed time)
Bash: measure time of a command, script execution time, and elapsed time (wall clock vs CPU). Use the time builtin, TIMEFORMAT, SECONDS, or EPOCHREALTIME; print …
Bash get script name, path, and directory (get script dir reliably)
Bash get script name, get current script name, get script path, and get script directory (script dir). Use $0, basename, BASH_SOURCE[0], dirname, cd+pwd, and …
Bash / Linux: check if a process or script is already running (PID, pidof, flock)
Linux and Bash ways to check if a process is running, if a PID still exists, and how to stop a second copy of the same shell script—using kill -0, pidof, pgrep, …
Shell script parallel execution: Bash background jobs and exit status
Shell script parallel execution in Bash: background jobs, wait, and per-PID exit codes. Bash parallelize for loop, parallel shell patterns, and how to run a …
Bash script multiple arguments: all args, functions, another script, and `typeset -f` over SSH
Bash multiple arguments with positional parameters, bash pass all arguments via "$@", bash pass multiple arguments to a function, forwarding to another script, …
Bash remove from array: one element, first item, duplicates, and subtract another array
Bash patterns to remove an element from an array, drop the first item, dedupe (bash array remove duplicates), and subtract all values of one array from another …
