Dies ist eine alte Version des Dokuments!
Inhaltsverzeichnis
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
Ubuntu
SuSE
RedHat
Bugtracker der Distributionen
siehe Fehlersuche
Empfehlenswerte Webseiten
- Linux Documentation Projekt HowTos und Guides
User Groups
Eingegebene Befehle mitprotokollieren
script -t 2> mitschrift.timing -a mitschrift.session
Protokoll beenden: Strg + d
Mitschrift abspielen:
scriptreplay mitschrift.timing mitschrift.session
