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

All About Linux.

Linux date Command: Format Dates and Times in Shell Scripts

date prints the clock, and the argument after the plus sign decides which shape that clock comes out in. I ran date +%F on a UTC machine and got 2026-09-16, where the bare command printed Wed Sep 16 17:43:13 UTC 2026. That switch also produces the epoch number a script compares against and the ISO

Linux date Command: Format Dates and Times in Shell Scripts Read More »

3 Ways to Check CPU and GPU Temperatures on Linux

CPU temperature on Linux has two correct answers and each one fails on the wrong machine. Install lm-sensors and run sensors, or read a file under /sys/class/thermal. A temperature appears only after a kernel driver recognises a sensor chip and publishes its registers as files. The first command is therefore a detection command, and the

3 Ways to Check CPU and GPU Temperatures on Linux Read More »

useradd Command in Linux: Create a User That Can Log In

useradd prints nothing and exits 0. That silence is not success, because the account it leaves behind has no home directory, a /bin/sh login shell, and a password field locked in /etc/shadow. I ran each flag on a fresh Ubuntu 24.04 account and read the state back after every one. The flags that carry the

useradd Command in Linux: Create a User That Can Log In Read More »

How to Install an AppImage on Linux and Add It to Your Menu

An AppImage arrives as a single file, and it runs without touching your package manager. Marking it executable and starting it takes three commands. Everything a normal install does for you stays your job, which is why a fresh AppImage so often needs a missing system library, a mount helper, or a menu entry added

How to Install an AppImage on Linux and Add It to Your Menu Read More »

traceroute Command in Linux: Install It and Read the Output

Ping comes back clean and the service still refuses you, so the question moves from the host to the path between you and it. The traceroute command answers that question by making every router on the way report back. Each probe it sends leaves with a small time to live value, and the first router

traceroute Command in Linux: Install It and Read the Output Read More »

How to Open a bin File in Linux and Run, Mount, or Read It

To open a bin file in Linux, start with the bytes rather than the extension. I ask the file command to name the shape, because the same three letters cover a self-extracting installer, a disk image, a compiled program, and a heap of raw data. Each shape has its own two-command lane below, and I

How to Open a bin File in Linux and Run, Mount, or Read It Read More »

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 »

1 2 … 129 Next →

Recent Posts

  • Linux date Command: Format Dates and Times in Shell Scripts
  • 3 Ways to Check CPU and GPU Temperatures on Linux
  • useradd Command in Linux: Create a User That Can Log In
  • How to Install an AppImage on Linux and Add It to Your Menu
  • traceroute Command in Linux: Install It and Read the Output

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.