Blog

Latest Articles

Browse the latest tutorials, guides, and practical examples across Linux, DevOps, security, databases, and programming on GoLinuxCloud.

Explore the latest tutorials and guides across Linux, DevOps, programming, and more.

You can also browse content by category below:

  • Linux: Commands, administration, troubleshooting, and system operations
  • DevOps: CI/CD, Kubernetes, containers, and automation
  • Programming: Coding tutorials, scripting, and development concepts
  • Security: Ethical hacking, system security, and best practices
  • Databases: MySQL, MariaDB, PostgreSQL, and database management
  • Networking: Network setup, troubleshooting, and protocols
  • Storage: Disk management, file systems, and storage solutions
  • Tools: Useful tools and utilities for productivity

2232 articles

How to create, read, append, write to file in Python

use open() or with open() function with different modes to create, write, append content to a text or binary file. Python write to file by overwriting the …

By Deepak Prasad · 15 min read · programming

How to Add User to Sudoers File in Linux

Learn how to add a user to sudoers safely with visudo, sudoers.d drop-in files, command-specific rules, NOPASSWD examples, syntax checks, aliases, and tested …

By Deepak Prasad · 5 min read · linux

3 simple and useful tools to grep multiple strings in Linux

How to grep multiple strings and patterns in single line from a file in Linux or Unix? Is it possible to grep multiple strings using single command from a file? …

By Deepak Prasad · 10 min read · system-administration

Mastering Python subprocess Module [In-Depth Tutorial]

The different functions available with python subprocess are Popen(), call(), run(), check_call(), check_output(). What is the difference between these …

By Deepak Prasad · 16 min read · programming

How to Check Sudo Access for a User in Linux

Learn how to check sudo access in Linux. Check if you or another user has sudo privileges with sudo -l, test sudo access non-interactively in a bash script with …

By Deepak Prasad · 9 min read · linux

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 Deepak Prasad · 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 Deepak Prasad · 9 min read · programming

The Only OpenSSL CheatSheet You Will Need!

In this tutorial we will cover different examples using openssl command, so in short let's get started with our openssl cheatsheet.

By Deepak Prasad · 9 min read · security

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 …

By Deepak Prasad · 18 min read · programming

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

By Deepak Prasad · 21 min read · programming

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 Deepak Prasad · 13 min read · programming

How to PROPERLY Rename Column in Pandas

In this tutorial we will learn use pandas dataframe.rename() and other methods to rename column in a List, CSV files, Dictionaries or any other type of object …

By Deepak Prasad · 16 min read · databases