User Tools

Site Tools


wiki:2016redirect

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
wiki:2016redirect [2016/08/29 11:01]
erin [Standard Streams]
wiki:2016redirect [2016/08/29 11:02] (current)
erin [Standard Streams]
Line 9: Line 9:
 **Standard Input**, or **stdin**, is input going into the shell. By default, this input comes from you typing on the keyboard. **Standard Input**, or **stdin**, is input going into the shell. By default, this input comes from you typing on the keyboard.
  
-When your run a command, say ''​wc file1.txt'',​ the shell sends its output to a special file called **standard output** (aka **stdout**),​ which by default is not saved in a directory, but is routed to the screen. ​(In Unix/Linux everything is treated like a file. See [[https://​en.wikipedia.org/​wiki/​Everything_is_a_file | everything is a file]].)+When your run a command, say ''​wc file1.txt'',​ the shell sends its output to a special file called **standard output** (aka **stdout**),​ which by default is not saved in a directory, but is routed to the screen.
  
 If you run an errant command, say ''​wc werkejtkhgo''​ when there is no file ''​werkejtkhgo'',​ an error message will be produced. The error message goes to a file called **standard error** (aka **stderr**) that is also routed to the screen by default. If you run an errant command, say ''​wc werkejtkhgo''​ when there is no file ''​werkejtkhgo'',​ an error message will be produced. The error message goes to a file called **standard error** (aka **stderr**) that is also routed to the screen by default.
wiki/2016redirect.txt ยท Last modified: 2016/08/29 11:02 by erin