Linux

Book description

Linux jest popularnym systemem operacyjnym o otwartych źródłach. Jego cechą charakterystyczną jest wyjątkowa łatwość konfiguracji. Istnieje wiele dystrybucji Linuksa, dzięki czemu łatwo można dopasować system do różnych potrzeb użytkowników. Z powodzeniem konkuruje z systemami Microsoft Windows i Mac OS X. Posiada graficzny interfejs z oknami i ikonami, sterowany za pomocą myszy. Prawdziwą siłą systemu jest jednak interfejs tekstowy, zwany powłoką, w którym wpisuje się i uruchamia polecenia. Umiejętność posługiwania się powłoką ma ogromne znaczenie dla użytkownika Linuksa.

Niniejsza książka jest zwięzłym przewodnikiem po systemie. Docenią ją zarówno początkujący, jak i zaawansowani użytkownicy. Opisano tu ważne i użyteczne aspekty Linuksa, tak aby każdy szybko mógł rozpocząć efektywną pracę. W tym wydaniu książki pojawiły się również nowe polecenia służące do przetwarzania plików audiowizualnych, odczytywania i zapisywania zawartości schowka systemowego oraz do wykonywania operacji na plikach PDF. Nie pominięto też idiomów powłoki, takich jak podstawianie poleceń czy przekazywanie ich potokiem do powłoki.

Najważniejsze zagadnienia omówione w książce:

system plików i powłoka,
kopie zapasowe i zdalne przechowywanie danych,
przeglądanie i kontrola procesów,
zarządzanie kontem użytkownika i uprawnienia superużytkownika,
połączenia sieciowe i programowanie skryptów powłoki.
Z taką ściągawką pokochasz swojego Linuksa!

Table of contents

  1. Co zawiera ta książka?
    1. Co nowego w trzecim wydaniu książki?
    2. Czym jest Linux?
    3. Czym jest dystrybucja?
    4. Czym jest polecenie?
      1. Znak zachęty
      2. Rozgrzewka
    5. Jak czytać tę książkę?
      1. Skróty klawiaturowe
      2. Polecenie echo Twoim przyjacielem
      3. Długie nazwy poleceń
    6. Ćwiczenia z książką
  2. Gdzie szukać pomocy?
  3. Czym jest Linux?
    1. Uruchamianie powłoki
    2. Wejście i wyjście
    3. Użytkownicy i superużytkownicy
  4. System plików
    1. Katalogi domowe
    2. Katalogi systemowe
      1. Ścieżka katalogu, część 1.: kategoria
        1. Kategorie programów
        2. Kategorie dokumentacji
        3. Kategorie konfiguracji
        4. Kategorie programowania
        5. Kategorie plików sieci WWW
        6. Kategorie wyświetlania
        7. Kategorie sprzętu
        8. Kategorie środowiska wykonania programów
      2. Ścieżka katalogu, część 2.: zakres
      3. Ścieżka katalogu, część 3.: aplikacja
    3. Katalogi systemu operacyjnego
    4. Zabezpieczenia plików
  5. Powłoka
    1. Powłoka a programy
    2. Wybrane funkcje powłoki bash
      1. Nazwy wieloznaczne
      2. Rozwijanie nawiasów klamrowych
      3. Zmienne powłoki
      4. Ścieżka wyszukiwania
      5. Aliasy
      6. Przekierowanie wejścia i wyjścia
      7. Potoki
      8. Podstawienie procesu
      9. Łączenie poleceń
      10. Cytowanie
      11. Znaki specjalne
      12. Edycja w wierszu poleceń
      13. Historia poleceń
      14. Uzupełnianie nazw plików
    3. Kontrola zadań powłoki
      1. jobs
      2. &
      3. ^Z
      4. suspend
      5. bg
      6. fg
    4. Równoczesne korzystanie z wielu powłok
    5. Zabijanie działającego polecenia
    6. Kończenie działania powłoki
    7. Dostosowywanie zachowań powłoki
  6. Podstawowe operacje na plikach
    1. ls stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. cp stdin stdout -file --opt --help --version
      1. Przydatne opcje
    3. mv stdin stdout -file --opt --help --version
      1. Przydatne opcje
    4. rm stdin stdout -file --opt --help --version
      1. Przydatne opcje
    5. ln stdin stdout -file --opt --help --version
      1. Przydatne opcje
  7. Operacje na katalogach
    1. cd stdin stdout -file --opt --help --version
    2. pwd stdin stdout -file --opt --help --version
    3. basename stdin stdout -file --opt --help --version
    4. dirname stdin stdout -file --opt --help --version
    5. mkdir stdin stdout -file --opt --help --version
      1. Przydatne opcje
    6. rmdir stdin stdout -file --opt --help --version
      1. Przydatne opcje
  8. Przeglądanie plików
    1. cat stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. less stdin stdout[8] -file --opt --help --version
      1. Przydatne opcje
    3. nl stdin stdout -file --opt --help --version
      1. Przydatne opcje
    4. head stdin stdout -file --opt --help --version
      1. Przydatne opcje
    5. tail stdin stdout -file --opt --help --version
      1. Przydatne opcje
    6. strings stdin stdout -file --opt --help --version
      1. Przydatna opcja
    7. od stdin stdout -file --opt --help --version
      1. Przydatne opcje
  9. Tworzenie i edytowanie plików
    1. Szybkie tworzenie plików
    2. Edytor domyślny
      1. nano stdin stdout -file --opt --help --version
      2. emacs stdin stdout -file --opt --help --version
      3. vim stdin stdout -file --opt --help --version
  10. Właściwości plików
    1. stat stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. wc stdin stdout -file --opt --help --version
      1. Przydatne opcje
    3. du stdin stdout -file --opt --help --version
      1. Przydatne opcje
    4. file stdin stdout -file --opt --help --version
      1. Przydatne opcje
    5. touch stdin stdout -file --opt --help --version
      1. Przydatne opcje
    6. chown stdin stdout -file --opt --help --version
      1. Przydatne opcje
    7. chgrp stdin stdout -file --opt --help --version
      1. Przydatne opcje
    8. chmod stdin stdout -file --opt --help --version
      1. Przydatna opcja
    9. umask stdin stdout -file --opt --help --version
    10. chattr stdin stdout -file --opt --help --version
      1. Przydatna opcja
    11. lsattr stdin stdout -file --opt --help --version
      1. Przydatne opcje
  11. Lokalizacja plików
    1. find stdin stdout -file --opt --help --version
      1. Przydatne opcje
      2. Przydatne opcje
    2. xargs stdin stdout -file --opt --help --version
      1. Przydatne opcje
    3. locate stdin stdout -file --opt --help --version
      1. Opcje indeksowania
      2. Opcje wyszukiwania
    4. which stdin stdout -file --opt --help --version
    5. type stdin stdout -file --opt --help --version
    6. whereis stdin stdout -file --opt --help --version
      1. Przydatne opcje
  12. Manipulowanie plikami tekstowymi
    1. grep stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. egrep stdin stdout -file --opt --help --version
    3. fgrep stdin stdout -file --opt --help --version
    4. cut stdin stdout -file --opt --help --version
      1. Przydatne opcje
    5. paste stdin stdout -file --opt --help --version
      1. Przydatne opcje
    6. tr stdin stdout -file --opt --help --version
      1. Przydatne opcje
    7. expand stdin stdout -file --opt --help --version
      1. Przydatne opcje
    8. sort stdin stdout -file --opt --help --version
      1. Przydatne opcje
    9. uniq stdin stdout -file --opt --help --version
      1. Przydatne opcje
    10. tee stdin stdout -file --opt --help --version
      1. Przydatne opcje
    11. Większe możliwości manipulacji tekstem
      1. awk
      2. sed
      3. m4
    12. Perl, PHP, Python i Ruby
  13. Kompresowanie i pakowanie plików
    1. tar stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. gzip stdin stdout -file --opt --help --version
      1. Podstawowe polecenia
    3. bzip2 stdin stdout -file --opt --help --version
      1. Podstawowe polecenia
    4. compress stdin stdout -file --opt --help --version
      1. Podstawowe polecenia
    5. zip stdin stdout -file --opt --help --version
    6. munpack stdin stdout -file --opt --help --version
  14. Porównywanie plików
    1. diff stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. comm stdin stdout -file --opt --help --version
      1. Przydatne opcje
    3. cmp stdin stdout -file --opt --help --version
      1. Przydatne opcje
    4. md5sum stdin stdout -file --opt --help --version
  15. Pliki PDF i PostScript
    1. pdftotext stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. ps2ascii stdin stdout -file --opt --help --version
    3. pdfseparate stdin stdout -file --opt --help --version
      1. Przydatne opcje
    4. pdftk stdin stdout -file --opt --help --version
    5. pdf2ps stdin stdout -file --opt --help --version
  16. Drukowanie
    1. lpr stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. lpq stdin stdout -file --opt --help --version
      1. Przydatne opcje
    3. lprm stdin stdout ;-file --opt --help --version
  17. Sprawdzanie pisowni
    1. look stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. aspell stdin stdout -file --opt --help --version
    3. spell stdin stdout -file --opt --help --version
  18. Dyski i systemy plików
    1. df stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. mount stdin stdout -file --opt --help --version
      1. Przydatne opcje
    3. umount stdin stdout -file --opt --help --version
    4. fsck stdin stdout -file --opt --help --version
      1. Przydatne opcje
    5. eject stdin stdout -file --opt --help --version
      1. Przydatne opcje
  19. Kopie bezpieczeństwa i zdalne przechowywanie
    1. rsync stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. dd stdin stdout -file --opt --help --version
      1. Przydatne opcje
    3. growisofs stdin stdout -file --opt --help --version
  20. Przeglądanie procesów
    1. ps stdin stdout -file --opt --help --version
    2. uptime stdin stdout -file --opt --help --version
    3. w stdin stdout -file --opt --help --version
      1. Przydatne opcje
    4. top stdin stdout -file --opt --help --version
      1. Przydatne opcje
    5. free stdin stdout -file --opt --help --version
      1. Przydatne opcje
  21. Kontrola procesów
    1. kill stdin stdout -file --opt --help --version
    2. timeout stdin stdout -file --opt --help --version
      1. Przydatne opcje
    3. nice stdin stdout -file --opt --help --version
    4. renice stdin stdout -file --opt --help --version
      1. Przydatne opcje
    5. flock stdin stdout -file --opt --help --version
      1. Przydatne opcje
  22. Planowanie zadań
    1. sleep stdin stdout -file --opt --help --version
    2. watch stdin stdout -file --opt --help --version
      1. Przydatne opcje
    3. at stdin stdout -file --opt --help --version
      1. Przydatne opcje
    4. crontab stdin stdout -file --opt --help --version
  23. Logowanie, wylogowanie i kończenie pracy
    1. shutdown stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. systemctl stdin stdout -file --opt --help --version
  24. Użytkownicy i ich środowisko
    1. logname stdin stdout -file --opt --help --version
    2. whoami stdin stdout -file --opt --help --version
    3. id stdin stdout -file --opt --help --version
      1. Przydatne opcje
    4. who stdin stdout -file --opt --help --version
      1. Przydatne opcje
    5. users stdin stdout -file --opt --help --version
    6. finger stdin stdout -file --opt --help --version
      1. Przydatne opcje
    7. last stdin stdout -file --opt --help --version
      1. Przydatne opcje
    8. printev stdin stdout -file --opt --help --version
  25. Zarządzanie kontami użytkowników
    1. useradd stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. userdel stdin stdout -file --opt --help --version
    3. usermod stdin stdout -file --opt --help --version
      1. Przydatne opcje
    4. passwd stdin stdout -file --opt --help --version
    5. chfn stdin stdout -file --opt --help --version
      1. Przydatne opcje
    6. chsh stdin stdout -file --opt --help --version
      1. Przydatne opcje
  26. Jak zostać superużytkownikiem?
  27. Zarządzanie grupami
    1. groups stdin stdout -file --opt --help --version
    2. groupadd stdin stdout -file --opt --help --version
      1. Przydatne opcje
    3. groupdel stdin stdout -file --opt --help --version
    4. groupmod stdin stdout -file --opt --help --version
      1. Przydatne opcje
  28. Informacje o komputerze
    1. uname stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. hostname stdin stdout -file --opt --help --version
      1. Przydatne opcje
    3. ip stdin stdout -file --opt --help --version
    4. ifconfig stdin stdout -file --opt --help --version
  29. Umiejscowienie komputera
    1. host stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. whois stdin stdout -file --opt --help --version
      1. Przydatne opcje
    3. ping stdin stdout -file --opt --help --version
      1. Przydatne opcje
    4. traceroute stdin stdout -file --opt --help --version
      1. Przydatne opcje
  30. Połączenia sieciowe
    1. ssh stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. scp stdin stdout -file --opt --help --version
      1. Przydatne opcje
    3. sftp stdin stdout -file --opt --help --version
    4. ftp stdin stdout -file --opt --help --version
    5. netcat stdin stdout -file --opt --help --version
      1. Przydatne opcje
  31. Poczta elektroniczna
    1. mutt stdin stdout -file --opt --help --version
    2. mail stdin stdout -file --opt --help --version
      1. Przydatne opcje
    3. mailq stdin stdout -file --opt --help --version
    4. Coś więcej niż tylko wysyłanie wiadomości pocztowych
  32. Przeglądanie stron WWW
    1. lynx stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. wget stdin stdout -file --opt --help --version
      1. Przydatne opcje
  33. Komunikatory
    1. write stdin stdout -file --opt --help --version
    2. mesg stdin stdout -file --opt --help --version
    3. tty stdin stdout -file --opt --help --version
    4. sendxmpp stdin stdout -file --opt --help --version
      1. Przydatne opcje
    5. profanity stdin stdout -file --opt --help --version
      1. Wybrane polecenia
    6. irssi stdin stdout -file --opt --help --version
      1. Wybrane polecenia
  34. Pisanie na ekranie
    1. echo stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. printf stdin stdout -file --opt --help --version
    3. yes stdin stdout -file --opt --help --version
    4. seq stdin stdout -file --opt --help --version
      1. Przydatne opcje
    5. clear stdin stdout -file --opt --help --version
  35. Kopiowanie i wklejanie
    1. xclip stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. xsel stdin stdout -file --opt --help --version
      1. Przydatne opcje
  36. Obliczenia matematyczne
    1. expr stdin stdout -file --opt --help --version
    2. bc stdin stdout -file --opt --help --version
      1. Przydatne operacje arytmetyczne
    3. dc stdin stdout -file --opt --help --version
  37. Czas i data
    1. cal stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. date stdin stdout -file --opt --help --version
      1. Przydatne opcje
    3. ntpdate stdin stdout -file --opt --help --version
  38. Grafika
    1. display stdin stdout -file --opt --help --version
      1. Przydatne opcje
    2. convert stdin stdout -file --opt --help --version
    3. mogrify stdin stdout -file --opt --help --version
    4. montage stdin stdout -file --opt --help --version
      1. Przydatne opcje
  39. Audio i wideo
    1. cdparanoia stdin stdout -file --opt --help --version
    2. lame stdin stdout -file --opt --help --version
    3. id3info stdin stdout -file --opt --help --version
    4. id3tag stdin stdout -file --opt --help --version
      1. Przydatne opcje
    5. ogginfo stdin stdout -file --opt --help --version
    6. metaflac stdin stdout -file --opt --help --version
      1. Przydatne opcje
    7. sox stdin stdout -file --opt --help --version
      1. Przydatne opcje
    8. mplayer stdin stdout -file --opt --help --version
  40. Instalowanie oprogramowania
    1. dnf stdin stdout -file --opt --help --version
    2. yum stdin stdout -file --opt --help --version
    3. rpm stdin stdout -file --opt --help --version
    4. APT stdin stdout -file --opt --help --version
    5. aptitude stdin stdout -file --opt --help --version
    6. Pliki tar.gz i tar.bz2
  41. Programowanie skryptów powłoki
    1. Tworzenie i uruchamianie skryptów powłoki
    2. Znaki białe i łamanie wierszy
    3. Zmienne
    4. Wejście i wyjście
    5. Wartości logiczne i kody powrotu
      1. test i „[”
        1. Testy plików
        2. Testy ciągów znaków
        3. Testy numeryczne
        4. Łączenie i negowanie testów
    6. Instrukcje warunkowe
    7. Pętle
    8. Argumenty wiersza poleceń
    9. Zwracanie kodów powrotu
    10. Przekazywanie poleceń potokiem do powłoki bash
    11. Więcej niż skrypty
  42. Posłowie
    1. Podziękowania
    2. O autorze

Product information

  • Title: Linux
  • Author(s): Daniel J. Barrett
  • Release date: May 2017
  • Publisher(s): Helion
  • ISBN: 9788328330658