Przejdลบ do treล›ci

๐Ÿ’ป Terminal Basics

The terminal is the primary tool for working with Linux servers.


๐Ÿ”ง Essential Commands

1
2
3
4
5
pwd        # show current directory
ls         # list files
ls -la     # list all files with details
cd <dir>   # change directory
clear      # clear screen

1
2
3
cd /       # root directory
cd ~       # home directory
cd ..      # go up one level

๐Ÿ“„ Viewing Files

1
2
3
4
cat file.txt
less file.txt
head file.txt
tail -f file.txt   # live log view

๐Ÿ› ๏ธ Editing Files

1
nano file.txt

Nano is beginnerโ€‘friendly and safe.


๐Ÿšจ Tips for Beginners

  • Linux is caseโ€‘sensitive
  • Use TAB to autoโ€‘complete
  • Use โ†‘ to repeat previous commands