How to redirect standard error to a file?

Answer Posted / linuxdemon

2> filename

eg: dat 2> errfilename

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is grep faster than awk?

561


What are the differences among a system call, a library function, and a unix command?

567


What is difference between grep and find command in unix?

579


Using unix command how to display no of records in oracle?

613


Who command in unix operating system?

662






Which command is used to restrict incoming messages?

594


How do I search for a file in unix command?

549


What is the first character of the output in ls l command?

637


What does find command return in unix?

596


what is the advaantage of each user having its own copy of the shell?

2036


What will the following command do?

615


What are filter commands in unix?

555


How to use grep command to list find the records of a file containing 10 different strings?

645


Describe the zip/unzip command using gzip.

615


How do I use grep to find a file?

583