Poziom
Podstawy
Czas czytania
200 min
Pozycje
24 lekcje
Otrzymujesz
Certyfikat (70% do zaliczenia)
/ Kursy

Wiersz poleceń Linuksa dla właścicieli serwerów

Dla każdego, kto właśnie dostał serwer z Linuksem. Kurs nie wymaga doświadczenia z terminalem. Poznaj garść poleceń pokrywających większość codziennych zadań na serwerze - i nawyki, dzięki którym niczego nie zepsujesz.

32 pytania w quizie Lekcje i materiały są w języku angielskim

Przeczytaj pierwszą lekcję

Cała lekcja pierwsza, w oryginale. Reszta kursu jest napisana w ten sam sposób. Materiał jest po angielsku.

A new server greets you with a black window and a blinking cursor, and it is normal to feel that one wrong keystroke could bring it all down. The reality is friendlier: day-to-day work runs on a small, learnable set of commands, and the same handful come up over and over. See where you are, look at what is there, move, read a file, restart a service. Learn those and you can run a server; the rest is a help page away.

The mental model that unlocks Linux: everything is a file, arranged in one tree that starts at /, the root. Configuration is files, logs are files, your website is files. Once you know where things sit in the tree, you know where to look.

//etcconfiguration/varlogs and data/homeuser files
Every file on the server has an address that starts at /.

Examples use Ubuntu and Debian, the most common server distributions, but the concepts transfer to any Linux.

ShellThe program that reads each command you type and runs it. The terminal is just the window it lives in.
Root (/)The top of the single filesystem tree. Every path on the machine starts here.
Good to know

Type every command yourself on a throwaway test server. Muscle memory beats reading, and you cannot really break a box you are allowed to rebuild.

Lekcja 1 z 24.

Program

  1. Connecting and finding your way

    6 lekcji · test modułu

    1. 01The terminal is smaller than it looks
    2. 02Your first SSH connection
    3. 03The navigation trio: pwd, ls and cd
    4. 04Paths: absolute, relative and the shortcuts
    5. 05A guided tour of the filesystem
    6. 06Working faster and safer at the prompt
  2. Files, permissions and ownership

    6 lekcji · test modułu

    1. 07Reading files: cat, less, head and tail
    2. 08The file verbs: cp, mv, mkdir and touch
    3. 09Deleting without disasters: rm
    4. 10Reading the permission string
    5. 11chmod: numeric and symbolic modes
    6. 12chown and the anatomy of permission denied
  3. Packages, services and the running machine

    6 lekcji · test modułu

    1. 13Where software comes from: apt and dnf
    2. 14Installing, removing and staying patched
    3. 15Services and systemd: start, stop, enable
    4. 16systemctl status and applying config changes
    5. 17Processes: ps, top and htop
    6. 18Disk, memory, ports: the health check routine
  4. Logs, sudo and safe habits

    6 lekcji · test modułu

    1. 19Where logs live: a tour of /var/log
    2. 20Following and filtering: tail -f and grep
    3. 21journalctl: logs for services
    4. 22sudo: root power, one command at a time
    5. 23Commands to read twice before Enter
    6. 24Your cheat sheet and where to go next
Zapisz się
$49