All Articles
Browse all Linuxize tutorials, guides, and references.
ifconfig Command in Linux: Configure Network Interfaces
Configure and view network interfaces in Linux using ifconfig. Covers IP assignment, enabling and disabling interfaces, MTU, MAC address changes, and modern ip command equivalents.

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.

groupdel Command in Linux: Delete a Group
Learn how to delete a Linux group using the groupdel command. Covers syntax, verification, handling primary group errors, and what happens to files owned by the deleted group.

wc Command in Linux: Count Lines, Words, and Bytes
The wc command counts lines, words, characters, and bytes in files or standard input. This guide covers all options with practical pipeline examples.

Bash String Concatenation: Combine Variables and Strings
Learn how to concatenate strings in Bash using variable juxtaposition, the += operator, and printf. Practical examples for combining variables, literals, and command output.

Bash Exit Command and Exit Codes
The Bash exit command terminates a shell or script and returns an exit code. This guide covers exit status, the $? variable, exit code conventions, set -e, and practical script examples.

top Command in Linux: Monitor Processes in Real Time
The top command displays running processes and system resource usage in real time. This guide covers sorting, filtering, load metrics, and key interactive controls.

usermod Command in Linux: Modify User Accounts and Groups
The usermod command modifies user account attributes such as groups, shell, home directory, username, and expiry date. This guide covers all common options with examples.

How to Get and Change the Current Working Directory in Python
Use os.getcwd() to get the current working directory in Python, and os.chdir(path) to change it. This guide covers both the os and pathlib approaches with 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.

sort Command in Linux: Sort Lines of Text
The sort command sorts lines of text files alphabetically or numerically. This guide covers sorting by column, reverse order, unique lines, and combining sort with other commands.

wall Command in Linux: Broadcast Messages to Logged-In Users
The wall command broadcasts a message to the terminals of all logged-in users in Linux. This guide covers sending messages from arguments, files, and pipes, with group targeting and banner control.

How to Increment and Decrement a Variable in Bash: Counter Examples
Bash provides several ways to increment and decrement a counter variable in scripts. This guide covers the +/- operators, += and -= assignment operators, and the ++ and -- shorthand with practical examples.

journalctl Command in Linux: Query and Filter System Logs
journalctl queries the systemd journal and lets you filter logs by unit, time, priority, boot, and process. This guide covers the most useful journalctl options with practical examples.

stat Command in Linux: Display File and Filesystem Information
The stat command displays detailed file and filesystem information in Linux, including size, permissions, inode number, and timestamps. This guide covers all major stat options with examples.

How to Create Groups in Linux: groupadd Command
This guide explains how to create groups in Linux using the groupadd command, including how to set a custom GID, create system groups, and manage group options.

touch Command in Linux: Create Files and Update Timestamps
The touch command creates empty files and updates file timestamps in Linux. This guide covers access time, modification time, custom timestamps, and reference file usage.

Bash Arrays
A complete guide to Bash arrays: create indexed and associative arrays, access elements, loop, slice, add and remove items, and check array length.

How to Create a File in Linux
Several ways to create a file in Linux from the command line: touch, redirection, cat, echo, printf, heredoc, and text editors. Includes examples for each method.

at Command in Linux: Schedule One-Time Tasks
The at command schedules one-time tasks to run at a specific time in Linux. This guide covers syntax, time formats, batch jobs, listing and removing jobs, and user restrictions.
