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

10+ simple examples to learn python sets in detail

Python sets are collections of unique and unordered items. It implements all the fundamental operations from set theory, like union, intersection, subset tests …

By admin · 9 min read · programming

Python range() Function [In-Depth Tutorial]

Python range() function is a built-in function that generates a list of numbers. This list is mostly used to iterate over using a for loop.

By admin · 13 min read · programming

Python dictionary (15 easy examples with syntax)

Python Dictionary are indexed using keys, which are usually strings. There are two kinds of dictionaries in Python: the default dict, which is unordered, and …

By admin · 13 min read · programming

Python for loop (10 easy examples with syntax)

The Python for loop is also referred to as the for…in loop. This is due to its unique syntax that differs a bit from for loops in other languages. We use range, …

By admin · 14 min read · programming

4 practical examples with bash increment variable

How to increment variable in bash shell script? How to add 1 to a variable for every for loop? How to increment counter in bash? How to perform bash variable …

By admin · 5 min read · programming

Bash string concatenate possible? [SOLVED]

How to concatenate strings with underscore, newline, whitespace or any other character in bash? How to append substrings in a string in bash or shell script? …

By admin · 6 min read · programming

.bashrc vs .bash_profile [Which one to use?]

All rc files are for all shell invocations while the profiles are strictly for interactive shells. when you login via SSH, or via duplicate console, or via …

By admin · 6 min read · programming

Use Python Logging Like a PRO: Don't be a Rookie

Learn how to use python logging module with examples. Write to console, stdout, stderr, to log file or syslog. Create single or multiple handlers using …

By admin · 13 min read · programming

How to use python if else in one line with examples

Learn how to use python if else statement in one line using ternary operator. You can also hack your way to use nested if else or if elif else in single line

By admin · 9 min read · programming