All Articles
Browse all Linuxize tutorials, guides, and references.
Fix "No Space Left on Device" When df Shows Free Space
Fix Linux no-space errors when df shows free space by checking the target mount, inode usage, tmpfs limits, container storage, Btrfs, and inotify watches.

How to Add a User to a Group in Linux
Add users to Linux groups with usermod, verify group membership, change primary groups, and fix common issues when group changes do not apply.

pwd Command in Linux: Print the Current Working Directory
The pwd command prints the current working directory in Linux. This guide covers pwd syntax, the -L and -P options, $PWD and $(pwd) in scripts, and how symlinks affect the output.

How to Search in Vim / Vi
Learn how to search in Vim / Vi with forward and backward search, whole-word matching, case sensitivity, search highlighting, and smartcase examples.

Understanding the /etc/fstab File in Linux
The /etc/fstab file defines how filesystems and storage devices are mounted at boot. This guide explains the fstab format, field meanings, mount options, and how to add new entries safely.

How to Create Users in Linux (useradd Command)
Create user accounts in Linux with useradd: home directories, passwords, groups, shells, UIDs, and expiry dates, plus how useradd compares to adduser.

How to Add and Delete Users on Debian 13
Create, delete, and lock user accounts on Debian 13 using adduser, deluser, and usermod, with practical examples for each command.

How to Create a sudo User on Debian
Create a sudo user on Debian 11, 12, and 13 by adding a new account and granting sudo privileges through the sudo group or the sudoers file.

pnpm Command: Install and Manage Node.js Packages
This pnpm command guide covers installation, project setup, dependency management, scripts, lockfiles, npm migration, and workspace filtering.

How To Create a Sudo User on Ubuntu
Create a sudo user with a home directory on Ubuntu 22.04, 24.04, or 26.04 using adduser and usermod, then verify the account has sudo access.

How to Run Sudo Command Without Password
Configure the sudoers file or a drop-in file in /etc/sudoers.d to let a user or group run sudo commands without a password prompt.

How to Install and Use uv: Fast Python Package Manager
Install uv on Ubuntu, Debian, and other Linux distributions, then use it to create projects, add dependencies, manage virtual environments, and install Python versions.

How to Add User to Sudoers in Debian
Grant sudo privileges in Debian by adding a user to the sudo group or configuring a custom sudoers rule with visudo. Covers Debian 12 and 13.

How to Add a User to Sudoers in Ubuntu
Grant sudo privileges in Ubuntu by adding a user to the sudo group or editing the sudoers file. Step-by-step examples and common errors.

How to Enable SSH on Ubuntu
Enable SSH on Ubuntu by installing OpenSSH Server, checking the correct systemd unit, allowing it through UFW, and connecting from Linux, macOS, or Windows.

How to Fix APT and dpkg Lock Errors on Ubuntu and Debian
Resolve APT and dpkg lock errors safely on Ubuntu and Debian by finding the process holding the lock and repairing interrupted package operations.

How to Start, Stop, and Restart Apache on Linux
Manage the Apache web server with systemctl on Ubuntu, Debian, Fedora, and RHEL. Covers start, stop, restart, reload, status, enable on boot, and config testing.

Bash For Loop: Syntax and Examples
A complete guide to the Bash for loop: standard syntax, C-style loops, arrays, ranges, break and continue, and real-world scripting examples.

How to Start, Stop, or Restart Nginx
Learn how to start, stop, restart, and reload Nginx using systemctl on Linux. Includes the reload vs restart difference, configuration testing, and autostart setup.

vmstat Command in Linux: Memory, CPU, and I/O Statistics
Use vmstat to monitor Linux CPU, memory, swap, processes, and disk I/O. This guide explains each column, live sampling, timestamps, and disk statistics.
