Linuxhotel Wiki

Wie ging das nochmal?

Benutzer-Werkzeuge

Webseiten-Werkzeuge


admin_grundlagen:hilfe

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung
Nächste Überarbeitung
Vorherige Überarbeitung
admin_grundlagen:hilfe [2020/12/04 13:50]
holger_jakobs [man]
admin_grundlagen:hilfe [2024/01/22 15:41] (aktuell)
sh [Dokumentation von der jeweiligen Linux-Distribution]
Zeile 8: Zeile 8:
  
 ====== Manual Page ====== ====== Manual Page ======
-===== show help for a command =====+Handbuchseite eines Kommandos anzeigen (anhand von ''​ip''​ und ''​crontab''​):​
   man ip   man ip
-((shotkeys like in [[less]])) 
  
 +Nach '​crontab'​ von Anfang an (Section 1, dann 2, 3, ...) suchen und ersten Treffer anzeigen:
   man crontab   man crontab
-sucht nach '​crontab'​ von Anfang (Section ​1) an+ 
 +Nach '​crontab' ​nur innerhalb ​von Section ​5 suchen:
   man 5 crontab   man 5 crontab
-sucht nach '​crontab'​ nur innerhalb von Section 5 
  
-show all present ​man-pages+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   man -a passwd
  
-Gliederung von man-Pages:+Gliederung von Handbuchseiten:
 | NAME        | commandname with short description of the syntax | | NAME        | commandname with short description of the syntax |
 | SYNOPSIS ​   | overview command incl. parameters ​               | | SYNOPSIS ​   | overview command incl. parameters ​               |
Zeile 30: Zeile 33:
 | BUGS        | known bugs of the command ​                       | | BUGS        | known bugs of the command ​                       |
  
-===== find man-pages to a topic =====+===== Handbuchseite nach Stichwort finden ​=====
   apropos password   apropos password
   whatis passwd   whatis passwd
 +  man -k password
  
-===== help for shell builtins ​=====+''​apropos''​ ist ein symbolischer Link auf ''​man -k''​. 
 +===== Hilfe zu in die Shell eingebauten Kommandos ​=====
   help alias   help alias
  
-====== ​info ======+''​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   info date
  
-====== ​documentation provided by the distribution ​======+====== ​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 ===== ===== Debian =====
   * https://​www.debian.org/​doc   * https://​www.debian.org/​doc
Zeile 58: Zeile 81:
 siehe [[Fehlersuche]] siehe [[Fehlersuche]]
  
-====== ​empfehlenswerte ​Webseiten ======+====== ​Empfehlenswerte ​Webseiten ======
   * [[ http://​www.tldp.org | Linux Documentation Projekt ]] HowTos und Guides   * [[ http://​www.tldp.org | Linux Documentation Projekt ]] HowTos und Guides
   * [[ http://​www.oreilly.de/​open-books | O'​Reilly Online Bücher ]]   * [[ http://​www.oreilly.de/​open-books | O'​Reilly Online Bücher ]]
Zeile 79: Zeile 102:
 Mitschrift abspielen: Mitschrift abspielen:
   scriptreplay mitschrift.timing mitschrift.session   scriptreplay mitschrift.timing mitschrift.session
 +  ​
 +  ​
admin_grundlagen/hilfe.1607089844.txt.gz · Zuletzt geändert: 2020/12/04 13:50 von holger_jakobs