All Articles
Browse all Linuxize tutorials, guides, and references.
How to Create Users in Linux (useradd Command)
Learn how to create and add users in Linux with the useradd command, including home directories, passwords, groups, shells, UIDs, and other common account options.

Bash Range: Sequence Expression Syntax and Examples
The Bash sequence expression generates a range of integers or characters using {START..END} syntax. This guide covers step increments, zero-padding, for loop usage, and how to handle variable ranges with seq.

last Command in Linux: Check Login History
Use the last command in Linux to check login history, filter sessions by user or date, and audit system access. Also covers lastb for failed logins and lastlog for per-user login records.

Linux Watch Command
Use the watch command in Linux to run commands at regular intervals and monitor output changes in the terminal. Includes interval, highlighting, pipes, and practical examples.

How to Add User to Sudoers in Debian
Learn how to add a user to sudoers in Debian by adding them to the sudo group or creating a custom sudoers rule with visudo.

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.

How to Mount and Unmount File Systems in Linux
Learn how to mount and unmount file systems in Linux using the mount and umount commands, with examples for USB drives, ISO files, NFS shares, and persistent /etc/fstab entries.

Find and Replace in Vim / Vi
Step-by-step guide to finding and replacing text in Vim using the :substitute command. Covers ranges, flags, regex, case sensitivity, and practical examples.

Bash Comments: Single-Line, Multiline, and Best Practices
Learn how to comment in Bash scripts with single-line, inline, and multiline comment patterns. Includes block comment workarounds and best practices for readable shell scripts.

ls Command in Linux: List Files, Directories, and Hidden Files
Use the ls command in Linux to list files and directories, show hidden files, sort output, and read long listings. Includes practical ls options and common command combinations.

How to Remove (Delete) Files and Directories in Linux
Learn how to delete files and directories in Linux using the rm, rmdir, unlink, and shred commands, with examples for single files, wildcards, recursive removal, and safe deletion workflows.

How to Run Cron Jobs Every 5, 10, or 15 Minutes
Learn how to schedule a cron job every 5, 10, or 15 minutes using crontab syntax, step values, and practical scheduling examples.

xargs Command in Linux: Usage and Examples
The xargs command builds and executes commands from standard input. This guide covers the most useful xargs options with practical examples.

locate Command in Linux: Find Files Quickly
Search for files and directories by name using the locate command in Linux. Covers installation, database updates, pattern matching, and common options.

Listing Linux Services with systemctl
Use the systemctl command to list running, failed, and enabled Linux services. Includes filtering by state, checking status, and listing unit files.

Find Large Files in Linux: Using find and du
Find the largest files and directories in Linux using the find and du commands. Includes practical examples for sorting by size and cleaning up disk space.

How to Set Up SFTP Chroot Jail
Step-by-step instructions for setting up an SFTP Chroot Jail on Linux to restrict users to their home directories using OpenSSH.

How to Truncate Files in Linux: Empty Files Without Deleting
Empty a file without deleting it using shell redirection or the truncate command. Covers permissions, sudo workarounds, and truncating log files.

How to Use the Linux ftp Command to Transfer Files
Transfer files to and from a remote server using the Linux ftp command. Covers connections, downloads, uploads, passive mode, and binary transfers.

lsmod Command in Linux: List Kernel Modules
Display all currently loaded Linux kernel modules with lsmod. This guide covers output format, filtering, and related module management commands.
