Aus Wiki - FSI Mathe/Info
Die druckbare Version wird nicht mehr unterstützt und kann Darstellungsfehler aufweisen. Bitte aktualisiere deine Browser-Lesezeichen und verwende stattdessen die Standard-Druckfunktion des Browsers.
Directory Commands
- cd directory
- pwd
- ls
- rm file
- mv old new
- cp old new
- mkdir directoryName
- rmdir directoryName
Shorthand Notations & Wildcards
file content viewing
- cat file
- more file
- less file
usefull stuff
- w
- ps
- jobs
- program&
- ctrl-z
- %
- %number
- kill
- grep expression input
- script
- lpr [-printerName] file
- diff file1 file2
- source file
- man
Pipes
- a > b: Redirect a's standard output to overwrite file b
- a >> b: Redirect a's standard output to append to the file b
- a >& b: Redirect a's error output to overwrite file b
- a < b: Redirect a's standard input to read from the file b
- a | b: Redirect a's standard output to b's standard input