150+ Most Common Linux Commands With Examples
A rundown of the 150+ Linux commands you use most, from files and processes to networking, each with a copy-ready example.
Read article →mdwn turns dozens of Linux commands into one tidy terminal menu. Instead of memorising apt, docker, or ufw, you simply run mdwn, pick a number, and press Enter. This article explains what mdwn is, how to install it, what each of its 48 menus does, and offers an interactive browser demo you can safely try without running a single command.
MENDOAN stands for Manajemen ENvironment DOs-level Aksi Nir-GUI, a pure Bash script that renders a text-based menu in the terminal. mdwn targets Ubuntu and its derivatives, runs entirely on the command line, and needs no graphical application.
All of its code is open on GitHub, so you can read exactly which command runs before you use it. The main menu holds 48 options, packed with more than 545 ready-to-use commands.
sudo rights for system-changing actions.git to download mdwn for the first time.Download the repository, grant execute permission, then run the installer that adds an alias to ~/.bashrc:
cd ~
git clone https://github.com/arianggoro1234/mdwn.git
chmod -R u+x mdwn
~/mdwn/./install_for_ubuntu.sh
Open a new terminal or run source ~/.bashrc, then start with the mdwn command:
mdwn
You can also use mdwn . to open the menu directly in the current directory. For a more detailed walkthrough, read how to install mdwn on Ubuntu.
Not ready to install? Open the mdwn browser demo. It recreates the look and flow of the real menu — all 48 options and their submenus — but executes no command at all. Everything runs in your browser, so it is safe for anyone to explore.
The flow has three simple layers:
start.sh shows the main menu and routes your choice to a script in the commands/ folder.commands/ (for example docker_operation.sh) contains a submenu and its commands.execute_cmd function in commands/lib/alacarte.sh prints the command, runs it, then waits for you to press Enter before returning to the menu.Because every command is shown first, you always know what the system is about to do.
Here is what each option in the main menu does, grouped by purpose.
| Menu | Purpose |
|---|---|
| Directories Navigation | Move around: to the parent folder, home folder, show the current directory, and list its contents. |
| Files & Directories | Everyday file operations: create a folder, delete, copy, move, and edit files. |
| ZIP Operation | Create, extract, and list ZIP archives, including stripping __MACOSX and .DS_Store. |
| TAR Operation | Create and extract tar, tar.gz, and tar.bz2 archives, and list their contents. |
| Menu | Purpose |
|---|---|
| Package Manager | APT commands: refresh package lists, upgrade, install, remove, search, and clean the cache. |
| Power Operation | Power control: reboot, shutdown, suspend, log out, and lock the screen. |
| Journalctl Operation | Read systemd logs: whole system, a specific service, a time range, or boot logs. |
| Log Operation | View log files and follow them live with tail -f. |
| Btop Monitoring | Monitor resources with btop, plus CPU, memory, network, and disk info. |
| Screenfetch Monitoring | Show the system identity with ASCII art, version, and custom options. |
| User Management | Add and remove users, change permissions (chmod), and file ownership (chown). |
| Menu | Purpose |
|---|---|
| Apache Operation | Install, manage the service, enable modules, and set up Apache2 virtual hosts. |
| FTP Operation | FTP sessions: log in, browse folders, upload, download, delete, and rename files. |
| Webmin Operation | Install and manage Webmin, including its service and status. |
| Hestia Operation | Install HestiaCP and manage its service and firewall. |
| CASAOS Operation | Install, update, and manage CasaOS services. |
| Supervisor Operation | Install Supervisor, configure its Web UI, and manage supervised processes. |
| Menu | Purpose |
|---|---|
| Docker Operation | Install Docker and manage services, images, containers, volumes, and networks. |
| Microk8s Operation | Install MicroK8s and enable add-ons such as DNS, Ingress, and Dashboard. |
| Menu | Purpose |
|---|---|
| MySQL Operation | Install and manage MySQL: service, hardening, and login. |
| MariaDB Operation | Install and manage MariaDB with its service and hardening steps. |
| PostgresSQL Operation | Install, uninstall, and manage the PostgreSQL service. |
| MongoDB Operation | Install, manage the service, and open the MongoDB shell. |
| Redis Operation | Install, manage the service, and open the Redis CLI. |
| Menu | Purpose |
|---|---|
| PHP 5.6, 7.0, 7.2–7.4, 8.0–8.5 (11 menus) | Install a specific PHP version, enable Apache modules, switch the CLI version, and add extensions. |
| FrankenPHP 8.2–8.5 (4 menus) | Run FrankenPHP through Docker, stop it, and view its logs. |
| Composer Operation | Install and use Composer: init, install, update, require, and pick a PHP version. |
| NVM Operation | Install NVM (local or global) and manage Node.js versions. |
| Menu | Purpose |
|---|---|
| Networking | Check IP addresses, ping, download with wget and curl, routing table, traceroute, and DNS lookup. |
| SSH Operation | Generate SSH keys, copy keys to a host, log in remotely, and set up port forwarding. |
| UFW Operation | Install and configure the UFW firewall: rules, ports, status, and rule removal. |
| ClamAV Operation | Install ClamAV, update virus definitions, and run scans. |
| Aria2 Downloader | Download files with Aria2, choosing connection count with automatic resume. |
| Menu | Purpose |
|---|---|
| Check mdwn Update | Pull updates from GitHub (git pull) and restore script execute permissions. |
| Exit | Leave the menu and return to the shell. |
You do not have to re-download it manually. Choose Check mdwn Update in the main menu: mdwn runs git pull on the ~/mdwn folder and restores script permissions. If you prefer the manual route, enter the mdwn folder and pull the changes:
cd ~/mdwn
git pull
chmod -R u+x .
sudo and change your system — understand the command before pressing Enter.mdwn reduces memorising commands to choosing a number. With 48 main menus and more than 545 commands, it suits both beginners and users who want to speed up routine terminal work. Try the interactive demo first, download it free from the mdwn product page, then continue with the installation guide.
A rundown of the 150+ Linux commands you use most, from files and processes to networking, each with a copy-ready example.
Read article →Inside Alpine Linux: why this 5 MB distro is the top choice for Docker images, what makes it different, and whether it can be a daily driver.
Read article →From a Finnish student’s hobby in 1991 to dominating servers and the cloud — follow Linux’s 35-year journey and the evolution of its distros.
Read article →