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
Master Python datetime() Function: The Clock Is Ticking
In this tutorial we will learn about python datetime module which can be used to get current date and time based on different timezone. Use strptime() or …
Check if Python String contains Substring [5 Methods]
How to check if string contains substring in Python. Look out for exact match, case insensitive match or use regex to match the pattern in Python script
Master Python Enum Classes: A Comprehensive Guide
The python enum class provides an implementation of an enumeration type, with iteration and comparison capabilities. It can be used to create well-defined …
How to append string in Python
Python append string using different operators and functions such as str.join, + operator, += and format strings. Concatenate strings to one another.
How to declare global variables in Python
How can we define global variables in Python. What is the difference between local vs global variables. What are namespaces, scope and functions in Python …
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 usage guide for absolute beginners
Beginners tutorial to learn bash if else statement in Linux and Unix. Nested if statement, Bash if multiple condition, if elif else statement with shell script …
Bash Function Usage Guide for Absolute Beginners
How to define bash function, pass command line arguments to a function and store it as variable or array, Use return value to return different exit codes from …
Bash while loop usage with examples for beginners
Absolute beginners guide to learn bash while loop with shell script examples. Use while true loop with break and continue statement, nested while loop, while …
Bash For Loop usage guide for absolute beginners
For loop in bash is used to iterate a certain command or task for a definite or infinite range. You can also use this in C programmer style, combine with …
How to PROPERLY Compare Numbers or Integers in Bash
Examples to compare numbers and integers using bash shell script. You can compare variable with numbers using different methods in Linux and Unix shell
Bash Split String into Array (With Delimiters, Newlines & Examples)
Bash tutorial to split string into arrays using read -ra, IFS delimiters, and mapfile. Covers multi-line input and common mistakes.
How to Compare Strings in Bash
How to compare strings in shell script in Linux and Unix. perform regex and pattern match or strings and sub strings. Learn about different comparison operator
Shell script to check login history in Linux
linux login history. check login attempts. check successful and failed login attempts using shell script in Linux. auth log successful login. linux login audit
