Allison is coding...

Unlocking Ubuntu Commands: Know the Meaning, Remember with Ease

Ubuntu and Linux commands often look like random letters — ls, cd, rm — but most of them actually have a clear origin in English (or Unix history). Understanding what a command stands for makes it much easier to remember and use.

This cheat sheet lists the most common Ubuntu commands, along with their meaning or origin. Treat it like a mini vocabulary guide: once you know the story behind a command, it stops feeling like nonsense and starts feeling intuitive.

📂 File & Directory

  • ls → short for list → shows files in a directory.
  • cdchange directory → move between folders.
  • pwdprint working directory → shows where you are.
  • mkdirmake directory.
  • rmdirremove directory (only if empty).
  • cpcopy.
  • mvmove (also used to rename).
  • rmremove → delete files.
  • touch → originally for “updating timestamp,” but usually used to create an empty file.

📑 File Viewing & Editing

  • catconcatenate → join & display file contents.
  • less → opposite idea of “more”: lets you scroll backward too.
  • more → view file, page by page (older than less).
  • nano / vim → text editors. nano = simple, vim = “Vi IMproved.”

⚙️ System & Process

  • psprocess status.
  • top → shows top resource-using processes.
  • htop → “human-friendly top.”
  • kill → stop a process (literally “kill” it).
  • manmanual → help documentation.
  • sudosuperuser do → run with admin rights.
  • susubstitute user (often root).
  • whoami → tells you “who am I” (current user).
  • unameUnix name (system info).

🌐 Networking

  • ping → named after sonar “ping,” checks if host is alive.
  • curlClient URL → transfers data from/to URLs.
  • wgetweb get.
  • sshsecure shell → remote login.
  • scpsecure copy (via SSH).

📦 Package Management (Ubuntu/Debian)

  • aptAdvanced Package Tool.
  • dpkgDebian package.
  • snap → Canonical’s package format (apps are “snapped” together).

🛠️ Other Useful

  • echo → prints text (like echoing sound).
  • grep → from g/re/p (global regular expression print), invented in Unix.
  • find → self-explanatory: search files.
  • chmodchange mode (file permissions).
  • chownchange owner.
  • tartape archive → old format for bundling files.
  • gzip / gunzip → GNU zip compression & decompression.

If you see them this way, they’re easier to recall — every command is almost a little abbreviation story.