Difference between revisions of "Seperating STDOUT and STDERR"

From assela Pathirana
Jump to navigationJump to search
(No difference)

Revision as of 12:44, 6 April 2006

Consider the follwing situation:

ls * i-am-not-here-for-sure

* indicates all the files in the current folder. Let's assume that you don't have a file named i-am-not-here-for-sure (that is unless you are crazy!), then the first argument of ls function generates a list of files and directories as output. Second one generates an error:

good

bad