How to redirect standard error to a file?
Answers were Sorted based on User's Feedback
Answer / kirus
cat 2 > filemane
if the filename is error.txt
cat 2 > error.txt
the statndard error is redirrected to error.txt file
| Is This Answer Correct ? | 2 Yes | 0 No |
what is the command to print last 8 lines of any text file.
How do I open a port?
How do you move a process which is running background to foreground?
What is a Unix signal, and how do you handle them?
How do you find files in Unix?
How do you find path of a directory? Give its syntax.
Is there any command in Unix, other than:ls, to list the files in a directory? The answer will be highly appreciated...
What does the command '$ls | wc –l > file1' do?
How do you remove a crontab file?
what are the different hardwares available?
What will the following command do?
what do you understand by 'building block primitive'?