Blog

Latest Articles - Page 52

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
  • Cloud: AWS, Azure, OpenStack, and hybrid cloud administration
  • 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

3098 articles

Blog illustration with latest articles, tutorials, guides, and how-to content across Linux and DevOps topics
linux

How to Install xoscope on Ubuntu

Install xoscope on Ubuntu from the universe apt package or build 2.3 from source; enable universe, pull GTK and ALSA dev libraries, work around SourceForge 404 and COMEDI API changes, launch the sound-card oscilloscope, …

Deepak Prasad10 min read
linux

How to Install Modoboa Mail Server on Ubuntu

Install Modoboa on Ubuntu with the official installer: DNS (MX, SPF, DKIM, DMARC, PTR), Let's Encrypt SSL, domains and mailboxes, webmail and Thunderbird setup, port 25 checks, and common troubleshooting.

Deepak Prasad16 min read
linux

How to Install OnlyOffice on Ubuntu

Install OnlyOffice Desktop Editors on Ubuntu from the official download.onlyoffice.com APT repo, a direct .deb, Snap, or Flatpak: import the GPG key, install onlyoffice-desktopeditors 9.4, launch desktopeditors, and …

Deepak Prasad9 min read
programming

Python requests

Learn how to use Python requests for HTTPS GET and POST requests. Install requests with pip, check response.status_code, handle 200 responses, use raise_for_status(), set timeouts, and compare requests with urllib and …

Bashir Alam8 min read
programming

Reverse String in Python

Learn how to reverse a string in Python using slicing, reversed() with join(), for loop, and while loop. Understand why string[::-1] is the simplest method and avoid common mistakes.

Bashir Alam5 min read
programming

Python subprocess: Run Shell Commands

Learn how to run shell commands in Python with subprocess.run(). Capture output, check return codes, handle errors, set timeouts, run multiple commands sequentially, and compare subprocess with os.system and os.popen.

Deepak Prasad15 min read
programming

Python pow() Function

Learn how Python pow() works with examples. Use pow(base, exp), the ** power operator, math.pow(), and pow(base, exp, mod) for modular exponentiation. Understand return types, negative powers, errors, and common …

Bashir Alam7 min read
programming

Round Up in Python

Learn how to round up in Python using math.ceil(), decimal rounding, ceiling division, NumPy ceil(), and custom multiples. Understand why round() is not the same as rounding up and avoid common rounding mistakes.

Bashir Alam8 min read
programming

Remove Element from List in Python

Learn how to remove elements from a Python list using remove(), pop(), del, clear(), and list comprehension. Remove by value, index, slice, condition, duplicate values, or all items with practical examples.

Bashir Alam7 min read
programming

Write CSV in Python

Learn how to write CSV files in Python using the built-in csv module. See examples with csv.writer, writerow(), writerows(), headers, append mode, DictWriter, custom delimiters, newline handling, and pandas to_csv().

Bashir Alam7 min read
programming

Python Reverse Range

Learn how to use Python range in reverse order. See examples with range(start, stop, -1), reversed(range()), reverse for loops, backward counting, custom steps, indexes, and common mistakes.

Bashir Alam5 min read
programming

Python range()

Learn how Python range() works with examples. Use range() in for loops, understand start, stop, and step, create reverse ranges, convert range to list, use negative steps, and avoid common range mistakes.

Deepak Prasad7 min read
programming

Pylint

Learn what Pylint is and how to use it in Python. Install Pylint with pip, run it on files or projects, understand common messages, fix snake_case naming warnings, disable rules, and configure Pylint with pyproject.toml …

Deepak Prasad9 min read
programming

Python pwd Module

Learn how to use the Python pwd module on Unix/Linux systems. See examples for pwd.getpwnam(), pwd.getpwuid(), pwd.getpwall(), struct_passwd fields, current user lookup, Windows availability, and common errors.

Bashir Alam6 min read
programming

Python Progress Bar

Learn how to create a progress bar in Python using print(), carriage return, sys.stdout.flush(), tqdm, progressbar2, and alive-progress. See examples for terminal loops, file processing, downloads, asyncio, and common …

Deepak Prasad8 min read
programming

Print Variable in Python

Learn how to print a variable in Python using print(), f-strings, commas, str.format(), and % formatting. See examples for printing strings, numbers, multiple variables, text with variables, and avoiding common TypeError …

Deepak Prasad6 min read
programming

Python sorted() Function

Learn how Python sorted() works with examples. Understand the difference between sort() and sorted(), sort lists, tuples, strings, dictionaries, use key functions, reverse=True, lambda, and custom sorting.

Deepak Prasad6 min read
programming

Python struct Module

Learn how to use the Python struct module to pack and unpack binary data. See examples for struct.pack(), struct.unpack(), struct.calcsize(), byte order, format strings, pack_into(), unpack_from(), and common errors.

Bashir Alam9 min read
programming

Python try except

Learn how Python try except works with simple examples. See how to catch specific exceptions, handle multiple exceptions, use else and finally, raise exceptions, and avoid common mistakes.

Bashir Alam9 min read
programming

Python input() Function

Learn how Python input() works, why it returns a string, how to convert input to int or float, handle non-numeric values, validate user input, take multiple inputs, and use input with asyncio.

Bashir Alam6 min read
programming

Python UUID

Learn how to generate UUIDs in Python using the built-in uuid module. See examples of uuid4(), uuid1(), uuid3(), uuid5(), GUIDs, short UUIDs, UUID strings, hex values, and when to use each version.

Bashir Alam7 min read
programming

Sort List in Reverse Alphabetical Order in Python

Learn how to sort a Python list in reverse alphabetical order using sort(reverse=True) and sorted(reverse=True). Also see how to solve the short_names exercise and choose between in-place sorting and creating a new list.

Azka Iftikhar5 min read
programming

Python strip()

Learn how Python strip() works with examples. Remove leading and trailing whitespace, strip specific characters, compare strip(), lstrip(), and rstrip(), and avoid common mistakes with prefixes and suffixes.

Bashir Alam6 min read
programming

Simple Linear Regression in Python

Learn simple linear regression in Python using pandas, scikit-learn, and matplotlib. Train a model, make predictions, evaluate accuracy, plot the regression line, and save predictions to a CSV file.

Bashir Alam6 min read
programming

NumPy Shuffle Array

Learn how to shuffle a NumPy array using np.random.shuffle(), Generator.shuffle(), and permutation(). Also see how to shuffle two arrays or lists together in the same random order.

Azka Iftikhar5 min read
programming

Seaborn Scatter Plot

Learn how to create a Seaborn scatter plot using sns.scatterplot(). See examples with hue, style, size, palette, marker size, transparency, labels, legends, and regression lines.

Deepak Prasad6 min read
programming

Remove Key from Dictionary in Python

Learn how to remove a key from a Python dictionary using pop(), del, dictionary comprehension, and safe methods to avoid KeyError when the key may not exist.

Deepak Prasad7 min read
programming

Python zip() Function

Learn how the Python zip() function works with lists, tuples, dictionaries, and loops. See how to handle different lengths with strict=True and zip_longest().

Bashir Alam9 min read
programming

Sort Dictionary by Key in Python

Learn how to sort a dictionary by key in Python using sorted(), dict(), lambda, itemgetter(), reverse=True, case-insensitive sorting, and nested dictionary examples.

Deepak Prasad8 min read
linux

How to Undo rm in Linux: Recover Deleted Files

Linux rm has no built-in undo and does not use Trash by default, but you can sometimes recover deleted files—stop writes to the disk first, then try backups, open file handles via /proc, carving tools like Foremost and …

Omer Cakmak21 min read