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 …
Your Friendly Guide to Type Checking in Python
Discover the transformative power of Type Checking in Python and enhance your coding precision. Explore essential strategies, avoid common mistakes, and unlock …
Print variable in Python like a PRO [7 Methods]
In this tutorial we will learn how to print variable in python using different methods. Use plus to concatenate strings and print them, use format strings to …
Bash if else and elif: if then else, conditions, and `[[` vs `[`
Bash if else and bash if then else with elif chains, if else in bash shell scripts, combining conditions, nested if, exit-status semantics, and [[ ]] vs [ ] …
Bash function: define, call, arguments, `local`, and `return`
Bash define function with name() or function keyword, bash function example calls, bash script function arguments ($1, $@), local vs global variables, return …
Bash while loop: syntax, `while true`, `read`, `break`, and “do while” in Bash
Bash while loops: `while`/`do`/`done`, any command as the condition, `while true` with `break` and `continue`, `while read` over files, do-while style with …
Bash for loop: list form, C-style `(( ))`, arrays, break, and continue
Bash for loop and for loop in bash: iterate words, arrays with "${a[@]}", C-style for ((i=0;i
Bash compare numbers and integers: variables, [[ ]], (( )), and pitfalls
Bash compare numbers and integers with -eq, -lt, -gt, bash compare variable to number in [[ ]] and (( )), bash if numeric comparison patterns, test, loops, and …
Bash String to Array (Split by Space, Delimiter, Newline + mapfile Examples)
Learn how to convert string to array in Bash using read -ra, IFS delimiters, and mapfile. Includes examples for splitting by space, comma, newline, multiple …
Bash compare strings: equality, order, empty checks, and pattern match
Bash string comparison with == and !=, bash if string equals patterns, compare strings in bash using [[ ]] and [ ], ASCII order, empty (-z) and non-empty (-n) …
Linux login history: view SSH logins, auth logs, and check attempts
Linux login history: view and check login history, login logs, and Linux SSH login history via last, wtmp, auth.log or /var/log/secure, and journalctl. Optional …
Linux: top memory and CPU consuming processes (ps, sar, scripts, metrics file)
Find top CPU and memory consuming processes on Linux with ps, top, sar, and pidstat; sample output after controlled stress; Bash scripts that append metrics to …
Bash / Linux: count string or word occurrences in a file (`grep`, `wc`, `awk`)
Count how many times a word or substring appears in a file, count lines and words with wc, whole-word matches with grep -E, and build a frequency table with awk …
Linux: find duplicate files by hash, list them, and remove duplicates safely
Use find with sha256sum (or md5sum) to list identical files on Linux, group by hash, then delete duplicate copies interactively or after a dry-run—plus how …
Grep word after match; awk print after match (Linux)
Grep word after match, grep everything after match, grep characters after match, grep next line after match, and awk print after match on Linux (GNU grep -P …
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.
