Category

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 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 …

By admin · 13 min read · programming

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.

By admin · 4 min read · programming

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 …

By admin · 6 min read · programming

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 …

By admin · 13 min read · programming

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 …

By admin · 8 min read · programming

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 …

By admin · 13 min read · programming

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 …

By admin · 14 min read · programming

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 …

By admin · 13 min read · programming

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 …

By admin · 10 min read · programming

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

By admin · 10 min read · programming

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

By admin · 6 min read · programming