Skip to content
Linux
  • Home
  • About
  • Contact Us
  • Privacy Policy

All About Linux.

How to Install Steam on Linux and Run Windows Games

Steam installs in one command on the distributions that package it, and the instructions that fail name a package their release dropped. Valve’s published apt line for 32-bit OpenGL support still asks for libgl1-mesa-glx, a name Ubuntu kept only as an empty leftover in 22.04. What you install first is a launcher rather than the

How to Install Steam on Linux and Run Windows Games Read More »

How to Clear Bash History in Linux and Mac So It Stays Cleared

Bash keeps your history in two places, and the list that the history command prints is not the file the next shell reads. I ran history -c on a test session and printed the file straight afterwards, and every line was still in it. Clearing bash history means handling both stores, and the file is

How to Clear Bash History in Linux and Mac So It Stays Cleared Read More »

Execute Linux Commands in Python and Capture the Output

Running a Linux command from Python takes one call, and the one you pick decides whether the output lands in a variable. os.system is the short version, and the number it returns is not the exit code you expect. subprocess.run runs the same command and hands back the text, the error text, and the plain

Execute Linux Commands in Python and Capture the Output Read More »

5 Disk Partitioning Tools for Linux and When to Use Each One

Disk partitioning tools on Linux all edit the same structure, a table that records which sectors belong to which partition. The trouble usually sits one layer below, where a partition entry and the filesystem inside it hold separate sizes. What those tools will do for you comes down to two rules. Unallocated space has to

5 Disk Partitioning Tools for Linux and When to Use Each One Read More »

cat and more commands in Linux: Read, Join and Page Files

cat prints a file to your screen and stops there. The name is short for concatenate, because joining files is the job it was written for and reading a long one was never part of the plan. The cat command in Linux hands every byte of a file to standard output, so a long log

cat and more commands in Linux: Read, Join and Page Files Read More »

man Command in Linux: Read, Search and Save Manual Pages

man opens the manual page for a command from /usr/share/man, right there in the terminal. No network, and no browser tab. man -k found the page I could not name from its one-line description, and man -f listed two pages under the same name. The section number settles which one you get. What man reads,

man Command in Linux: Read, Search and Save Manual Pages Read More »

How to Mount a USB Drive in Linux and Get Write Permission on It

A USB drive the kernel has already detected can still have no path to its files. The server offers no file manager and no /media folder. Mounting is what joins a partition to a directory, and the kernel keeps that entry until you detach it. I attached a FAT32 volume as a loop device for

How to Mount a USB Drive in Linux and Get Write Permission on It Read More »

How to Install Android Studio on Linux

Installing Android Studio on Linux starts with a 1.5 GB download that unpacks to 3.5 GB before the Android SDK arrives. The dependency list has gone stale. The official page still asks 64-bit Ubuntu users for i386 libraries, while every 32-bit binary inside the archive is a payload for a phone, not for your desktop.

How to Install Android Studio on Linux Read More »

tar Command in Linux: Create, List, and Extract Archives

tar turns a folder into a single file on any Linux system, and the same command compresses it on the way. Understanding the option string is the whole job, because tar -czvf stacks four unrelated jobs into one word. What the letters in tar -czvf are doing Read the string as four jobs rather than

tar Command in Linux: Create, List, and Extract Archives Read More »

Bash for Loop in Shell Scripts: Syntax and Split Filenames

A for loop that renames files can act on half a filename, because bash splits the word list on whitespace before the body runs. A file holding the names report final.txt and notes.txt reaches the loop as three words, so the command in the body runs against a path that does not exist. Quoting inside

Bash for Loop in Shell Scripts: Syntax and Split Filenames Read More »

1 2 … 129 Next →

Recent Posts

  • How to Install Steam on Linux and Run Windows Games
  • How to Clear Bash History in Linux and Mac So It Stays Cleared
  • Execute Linux Commands in Python and Capture the Output
  • 5 Disk Partitioning Tools for Linux and When to Use Each One
  • cat and more commands in Linux: Read, Join and Page Files

Favorite Sites

  • Python Tutorials
  • GoLang Tutorials
  • CodeForGeek
  • VM-Help
  • MySQL Tutorials
  • Excel Tutorials
Linuxlogo

Learn everything about Linux, under a single roof. LinuxForDevices covers Linux tutorials, Open Source news, and courses to help you grow.

Copyright © 2026 · LinuxForDevices · LinuxForDevices is part of Diyansh IT Services Private Limited
Linux® is a registered trademark of Linus Torvalds.
Advertisement
Advertisement