befehl -argumente werte
ping -c2 gnu.org PING gnu.org (208.118.235.148) 56(84) bytes of data. 64 bytes from wildebeest.gnu.org (208.118.235.148): icmp_seq=1 ttl=55 time=197 ms 64 bytes from wildebeest.gnu.org (208.118.235.148): icmp_seq=2 ttl=55 time=195 ms --- gnu.org ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 195.501/196.608/197.716/1.192 ms
Root Verzeichnis | Verzeichnis Trenner | Aktuelles Verzeichnis | Darunterliegendes Verzeichnis | Home-Verzeichnis |
---|---|---|---|---|
/ | / | . | .. | ~ |
cd /Usrs/tom/Music/iTunes/iTunes-Media/
ls -lh ./
ls Miles Tilmann Nyan Cat.m4a j5.mp3
afplay ./Nyan\ Cat.m4a
strg+c (nicht cmd)
ls /Volumes/
Macintosh HD
befehl -argumente werte
ls --help Usage: ls [OPTION]... [FILE]... List information about the FILEs (the current directory by default). -a, --all do not ignore entries starting with .
afplay Nyan\ Cat.m4a
/usr/bin/afplay Nyan\ Cat.m4a
/Applications/VLC.app/Contents/MacOS/VLC ./Nyan\ Cat.m4a
Zeichen belegen Funktionen
| & * >
befehl -argument ./Datei | verarbeitungsBefehl
cat ./* | grep -i "schularbeit" schularbeit
grep -i "Schularbeit" * Untitled2013-09-15.txt:Schularbeit
dd --help | less mit "q" beenden
man dd
dd if=/dev/disk7s9 of=./Speicherkarten-Backup01 dd: /dev/disk7s9: Permission denied
cd /Users/tom/Static/Backups/
dd if =/dev/disk4 of=./Speicherkarten-Backup01 (Dauert etwas)
ls -lh (-h = Human-Readable File-Size)
shasum ./Speicherkarten-Backup01 > sha1-backup.txt
shasum /dev/disk7s9 > sha1-orig.txt
diff ./sha-orig.txt sha1-backup.txt