Unix Shell: Unterschied zwischen den Versionen

Aus Wiki - FSI Mathe/Info
Keine Bearbeitungszusammenfassung
K (Änderungen von Lusy (Diskussion) wurden auf die letzte Version von Matthias zurückgesetzt)
Zeile 1: Zeile 1:
== Externe Links ==
== externe Links ==
* [http://freeengineer.org/learnUNIXin10minutes.html Learn UNIX in 10 minutes]
* [http://freeengineer.org/learnUNIXin10minutes.html Learn UNIX in 10 minutes]
* [http://pad.spline.de/shellinschnell splinePad zum geplanten Shellkurs]
* [http://pad.spline.de/shellinschnell splinePad zum geplanten Shellkurs]
* [https://linuxkurs.spline.de/ Spline-Linux-Kurs]
* [https://linuxkurs.spline.de/ Spline-Linux-Kurs]
* [https://swcarpentry.github.io/shell-novice/ Software Carpentry Shellkurs]
 
 
Und jetzt noch "sinnvolle" Befehle:
==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

Version vom 27. Juni 2017, 20:58 Uhr

externe Links


Und jetzt noch "sinnvolle" Befehle:

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