$_ Command Trail
Linux Terminal Basics

Linux terminal basics for beginners

The Linux terminal is built around small commands that do clear jobs. Learn how to move through folders, read files, search text, inspect processes, and use help pages.

Essential Linux Terminal Commands

  • pwd prints your current directory.
  • ls lists files and directories.
  • cd projects moves into the projects directory.
  • cd .. moves up one directory.
  • mkdir notes creates a directory named notes.
  • touch journal.txt creates an empty file.
  • cat notes.txt prints a text file.
  • grep "error" server.log searches a log file for matching text.
  • chmod +x script.sh makes a script executable.
  • man ls opens the manual page for ls.

What to Learn First

Start with navigation commands, then learn file creation and reading commands, then move into search and help. That order gives you confidence before you touch permissions or process commands.