Seperating STDOUT and STDERR
From assela Pathirana
Jump to navigationJump to search
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