All Articles
Browse all Linuxize tutorials, guides, and references.
How to Use the Export Command in Linux
The export command in Bash marks variables to be inherited by child processes. This guide explains what export does, how to use it, and when to make variables persistent.

How to Install Docker on Ubuntu 24.04
Install Docker on Ubuntu 24.04 from the official Docker repository. Covers repository setup, verification, running without sudo, updates, and uninstall steps.

sha256sum and md5sum Commands: Verify File Integrity in Linux
How to use sha256sum and md5sum to generate and verify checksums for files, validate ISO downloads, and detect tampering on Linux systems.

How to Check the PHP Version
Two ways to check which PHP version is running on your server: the phpinfo() function from the browser, and the php --version command from the terminal.

How to Run a Python Script in Linux
Running a Python script in Linux usually means using `python3 script.py` or making the file executable with a shebang. This guide covers both methods, passing arguments, running modules, and common errors.

PostgreSQL User Management: Create Users and Grant Privileges
Step-by-step instructions for creating PostgreSQL users (roles), setting passwords, and granting or revoking privileges on databases, schemas, and tables.

How to Create MySQL User Accounts and Grant Privileges
Create MySQL user accounts, grant or revoke privileges, and manage access on MySQL 8 and MariaDB with the commands in this guide.

How to Change the SSH Port in Linux
Change the default SSH port 22 by editing sshd_config, adjusting the firewall, and reloading the SSH service on Linux.

How to List PostgreSQL Databases and Tables using psql
List PostgreSQL databases and tables from the psql shell using meta-commands and SQL queries.

SSH Tunnel: Local, Remote, and Dynamic Port Forwarding
SSH tunneling (port forwarding) encrypts and relays TCP traffic through a secure SSH connection. This guide covers local, remote, and dynamic port forwarding with practical examples.

git cherry-pick Command: Apply Commits from Another Branch
How to use git cherry-pick to apply commits from one branch to another, including single commits, ranges, conflict handling, backports, and merge commits.

How to Set Environment Variables in Linux
Set, list, and make environment variables permanent in Linux. Covers shell vs environment variables, export, printenv, and persistent config in ~/.bashrc and /etc/profile.

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.
