Alle Befehle
stat
Thema: Dateien und Verzeichnisse
Programm: stat
Zeigt die Angaben eines Inodes.
Paket: core-inodes
Aufruf
stat [OPTION]... FILE...
Beschreibung
Show what the inode of each FILE records: size, blocks, links, rights, owner and times.
FORMAT codes: %a %A rights, %b blocks of %B bytes, %F type, %h links, %i inode, %n name, %N name with link
target, %s size, %u %U owner, %g %G group, %x %y %z access, change of data, change of the inode (%X %Y %Z in
seconds), %w birth, %% a percent sign.
Optionen im Simulator
-
-L, --dereference show the file a symbolic link points to -
-c, --format=FORMAT print FORMAT for each file, then a newline -
--printf=FORMAT like --format, with \n and \t, without a final newline -
--help show this help and exit
4 weitere Optionen des echten Programms, im Simulator noch nicht
-
-f, --file-system im Simulator noch nicht Im echten Linux zeigt stat damit Angaben zum Dateisystem statt zur Datei.
-
--cached braucht einen Wert im Simulator noch nicht Im echten Linux legt die Option fest, ob stat bei Netzwerk-Dateisystemen zwischengespeicherte Angaben nimmt.
-
-t, --terse im Simulator noch nicht Im echten Linux schreibt stat alle Angaben knapp in eine Zeile.
-
--version im Simulator noch nicht Im echten Linux zeigt die Option die Version des Programms.
Wo du ihn lernst
Noch in keiner Lektion.
Alle Befehle