Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung | Vorherige Überarbeitung | ||
admin_grundlagen:hilfe [2020/03/16 16:21] |
admin_grundlagen:hilfe [2024/01/22 15:41] sh [Dokumentation von der jeweiligen Linux-Distribution] |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== Hilfe direkt vom Kommando abfragen ====== | ||
+ | ls --help | ||
+ | ls -h | ||
+ | ls -? | ||
+ | ... funktioniert mit vielen Kommandos, aber nicht mit allen. | ||
+ | Webbasiert: http://explainshell.com/explain | ||
+ | |||
+ | ====== Manual Page ====== | ||
+ | Handbuchseite eines Kommandos anzeigen (anhand von ''ip'' und ''crontab''): | ||
+ | man ip | ||
+ | |||
+ | Nach 'crontab' von Anfang an (Section 1, dann 2, 3, ...) suchen und ersten Treffer anzeigen: | ||
+ | man crontab | ||
+ | |||
+ | Nach 'crontab' nur innerhalb von Section 5 suchen: | ||
+ | man 5 crontab | ||
+ | |||
+ | Handbuchseite für ''crontab'' schön formatiert als PDF generieren (Minuszeichen am Ende nicht vergessen): | ||
+ | man -t crontab | gs -q -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=crontab.pdf - | ||
+ | |||
+ | Alle vorhandenen Handbuchseiten auflisten: | ||
+ | man -a passwd | ||
+ | |||
+ | Gliederung von Handbuchseiten: | ||
+ | | NAME | commandname with short description of the syntax | | ||
+ | | SYNOPSIS | overview command incl. parameters | | ||
+ | | DESCRIPTION | detailed description of the command and its options | | ||
+ | | FILES | related files | | ||
+ | | EXAMPLES | usage examples | | ||
+ | | SEE ALSO | related topics | | ||
+ | | COPYRIGHT | authors of the command | | ||
+ | | BUGS | known bugs of the command | | ||
+ | |||
+ | ===== Handbuchseite nach Stichwort finden ===== | ||
+ | apropos password | ||
+ | whatis passwd | ||
+ | man -k password | ||
+ | |||
+ | ''apropos'' ist ein symbolischer Link auf ''man -k''. | ||
+ | ===== Hilfe zu in die Shell eingebauten Kommandos ===== | ||
+ | help alias | ||
+ | |||
+ | ''help'' ohne ein Kommando dahinter listet alle in die Shell eingebauten Kommandos auf. | ||
+ | ====== Info-Seiten ====== | ||
+ | |||
+ | Das GNU-Projekt bevorzugt ''info''-Pages statt der üblichen Handbuchseiten. Das Blättern darin ist | ||
+ | aber eher umständlich: | ||
+ | |||
+ | info date | ||
+ | |||
+ | ====== Weitere Tools ====== | ||
+ | Verwendung auf eigene Gefahr ;-) | ||
+ | |||
+ | == tldr == | ||
+ | # apt-get install tldr | ||
+ | $ tldr -u | ||
+ | $ tldr rsync | ||
+ | |||
+ | == cheat.sh == | ||
+ | $ curl cht.sh | ||
+ | $ curl cht.sh/rsync | ||
+ | $ curl cht.sh/go+create+file | ||
+ | $ curl cht.sh/shell+create+file | ||
+ | |||
+ | ====== Dokumentation von der jeweiligen Linux-Distribution ====== | ||
+ | ===== Debian ===== | ||
+ | * https://www.debian.org/doc | ||
+ | |||
+ | ===== Ubuntu ===== | ||
+ | * https://help.ubuntu.com/lts/ubuntu-help | ||
+ | |||
+ | ===== SuSE ===== | ||
+ | * http://de.opensuse.org | ||
+ | |||
+ | ===== RedHat ===== | ||
+ | * http://www.redhat.com/docs/manuals/enterprise/ | ||
+ | * http://www.centos.org/docs/5/ | ||
+ | |||
+ | ====== Bugtracker der Distributionen ====== | ||
+ | siehe [[Fehlersuche]] | ||
+ | |||
+ | ====== Empfehlenswerte Webseiten ====== | ||
+ | * [[ http://www.tldp.org | Linux Documentation Projekt ]] HowTos und Guides | ||
+ | * [[ http://www.oreilly.de/open-books | O'Reilly Online Bücher ]] | ||
+ | * [[ http://www.prolinux.de | Prolinux News, Tipps und Anleitungen ]] | ||
+ | * [[ http://de.wikipedia.org/ | Wikipedia ]] | ||
+ | * [[ http://debiananwenderhandbuch.de/ | Debian Anwenderhandbuch ]] | ||
+ | * [[ https://ubuntuusers.de/ | Ubuntuusers ]] | ||
+ | |||
+ | |||
+ | |||
+ | ====== User Groups ====== | ||
+ | * [[http://www.guug.de | German Unix User Group ]] | ||
+ | * [[http://www.prolinux.de/lugs | Linux User Groups in Deutschland]] | ||
+ | |||
+ | |||
+ | ====== Eingegebene Befehle mitprotokollieren ====== | ||
+ | script -t 2> mitschrift.timing -a mitschrift.session | ||
+ | Protokoll beenden: ''Strg + d'' | ||
+ | |||
+ | Mitschrift abspielen: | ||
+ | scriptreplay mitschrift.timing mitschrift.session | ||
+ | | ||
+ | |