head
Programm: head
Zeigt den Anfang von Dateien.
Aufruf
head [OPTION]... [FILE]...
Beschreibung
Show the start of each FILE, 10 lines unless told otherwise. A FILE named -, or no FILE, means the keyboard or pipe. -NUM as the first argument is the same as -n NUM.
Optionen im Simulator
4 weitere Optionen des echten Programms, im Simulator noch nicht
Beispiele
head -n 3 projekte/webseite/server.log
08:00 server started
08:01 GET /index.html 200
08:02 GET /style.css 200 head -n 3 Dokumente/notizen.txt
Milch kaufen
Vermieter anrufen
Blumen gießen Wo du ihn lernst
Lektionen
- In Dateien schauen: cat, less, head und tail Terminal-Start