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

What is the unix command to confirm a remote host is alive or not?

579


What does the command '$ls | wc –l > file1' do?

678


How do you grep a case insensitive?

538


Which command is used to find whether the system is 32 bit or 64 bit?

631


What is $0 bash?

646






What does awk stand for?

607


What is updatedb?

586


What does this command do? Cat food 1 > kitty

976


Why is it called a shebang?

568


What are grep patterns?

577


What are the dos commands?

646


How many unix commands are there?

627


What are some command words?

561


What is the functionality of a top command?

623


Write a command to display a file’s contents in various formats?

623