|
|
Information
``Ewiger'' Kalender: (cal)
$ cal # Kalender fuer aktuellen Monat ausgeben.
$ cal jahr # ganzes Jahr
$ cal monat jahr # bestimmter Monat
$ cal 9 1752
September 1752
S M Tu W Th F S
1 2 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Datumsausgabe in vielen Variationen: (date)
$ date # +format Ausgabe a la printf formatieren. $ date Fri Apr 4 12:31:38 MET DST 1997 $ date '+%w/%y' 5/97 $ date '+%D' 04/18/97 $ date '+%A %B %Y' Friday April 1997
freier Plattenplatz: (df)
$ df Filesystem 1024-blocks Used Available Capacity Mounted on /dev/sd0a 1020893 411996 506807 45% / /dev/sd0b 1020894 756107 162697 82% /export $ df /dev/sd0a /dev/rsd0a Filesystem 1024-blocks Used Available Capacity Mounted on /dev/sd0a 1020893 411996 506807 45% / /dev/rsd0a 1020893 411996 506807 45% $ df -i Filesystem Inodes IUsed IFree %IUsed Mounted on /private/vm/swapfile 255360 27143 228217 11% /private/vm/swapfile.front portos:/export/local -1 0 -1 0% /tmp_mnt/Local /dev/sd0a 255360 27143 228217 11% /
Platzverbrauch: (du)
$ du -s . 131071 . $ du c.01 4 c.01 $ ls -l c.01 -rw-r--r-- 1 bischof inform 3828 Apr 3 18:23 c.01
Wer bin ich?: (id, who, logname)
$ id # login-Information ausgeben. $ id uid=106(bischof) gid=11(inform) groups=11(inform),0(wheel)... $ id -g 11 $ id -u 106 $ logname bischof $ who am i artemis!bischof ttyp1 Apr 17 15:56 $ who ss ss artemis!bischof ttyp1 Apr 17 15:56
Wie kommt man an die Information: (man)
$ man kommando # Manualseite ausgeben. $ man nummer kommando # aus bestimmtem Abschnitt $ man 1 ed $ man 2 read
Es ist darauf zu achen, daß die ``richtige'' Manual-Seite gefunden wird. Sprich $MANPATH und $PATH sollten übereinstimmend sein.
|
|
Last modified 03/July/97