All Articles
Browse all Linuxize tutorials, guides, and references.
less Command in Linux: Navigate and Search Files
The less command displays file contents one page at a time, with full keyboard navigation, search, and multi-file support. This guide covers the most useful options and commands.

Nginx Commands You Should Know
Reference for the most-used Nginx commands on Linux: start, stop, restart, reload, test config, dump config, check version, and read logs with systemd.

How to List Installed Packages on Ubuntu
List, filter, and export installed packages on Ubuntu with apt and dpkg, including how to find package details, manually installed packages, and install history.

How to Reset the MySQL Root Password
Step-by-step instructions for resetting a forgotten MySQL or MariaDB root password on Linux, with modern syntax for MySQL 8.0 and Ubuntu auth_socket notes.

ufw Command in Linux: Uncomplicated Firewall Reference
Reference for the ufw command on Linux, with examples for enabling the firewall, allowing and denying traffic, deleting rules, and managing application profiles.

who Command in Bash: List Logged-In Users
The who command lists currently logged-in users, along with their terminal, login time, and remote host. Use it to see active sessions, system boot time, and the current runlevel.

How to Change MySQL User Password
Change a MySQL or MariaDB user password from the mysql shell using ALTER USER. Includes the modern syntax for MySQL 8.0, notes on FLUSH PRIVILEGES, and troubleshooting common errors.

How To Create a Sudo User on Ubuntu
Create a new user on Ubuntu with a home directory and grant sudo privileges using adduser and usermod, so you can run administrative commands without logging in as root.

Setting up an Nginx Reverse Proxy
Configure Nginx as a reverse proxy for HTTP and non-HTTP upstreams. Covers proxy_pass, the proxy_set_header directives you need for client IP, websockets, and TLS termination, and common troubleshooting.

How to Show/List Users in MySQL
Query the mysql.user table to list all MySQL user accounts, check their privileges with SHOW GRANTS, and see who is currently connected to the server.

How to Check the Kernel Version in Linux
Three quick ways to find the Linux kernel version from the command line: uname, hostnamectl, and /proc/version.

How To Delete a Local and Remote Git Branch
Git branches pile up fast after merging. This guide shows you how to delete local and remote branches, clean up stale tracking references, and recover a branch you removed by mistake.

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.

tmux Command in Linux: Sessions, Windows, and Panes
The tmux command lets you run persistent terminal sessions with multiple windows and panes. This guide covers creating and managing sessions, splitting panes, copy mode, and configuration.

curl Command in Linux: Usage and Examples
The curl command transfers data to and from servers using HTTP, HTTPS, FTP, and other protocols. This guide covers downloads, headers, POST requests, verbose debugging, proxies, and API usage.

passwd Command in Linux: Change User Passwords
Use the passwd command to change your own or another user's password in Linux. Covers root password changes, password expiry with chage, and account locking.

How to Force HTTPS using .htaccess
Redirect all HTTP traffic to HTTPS using Apache .htaccess rewrite rules, with examples for www and non-www domain handling.

Docker Run Command with Examples
Practical examples of docker run covering detached mode, port publishing, volumes, environment variables, restart policies, and interactive shells.

file Command in Linux: Determine File Types
Identify file types from the command line using the Linux file command. Covers basic usage, MIME types, compressed files, symlinks, and the magic database.

Chattr Command in Linux (File Attributes)
How to use chattr and lsattr to set and view file attributes in Linux, including immutable files, append-only logs, and recursive protection.
