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 significance of "su" command?
What is a Unix signal, and how do you handle them?
in UNIX,How to copy file into directory?
what is tar command and what are the different types of tar commands?
why metadb requires a seperate slice to create Solaris volume manager
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is the difference between udp and tcp?
How do you create a directory in UNIX?
Hi All, Can you please let me know how to grep for a particular pattern in unix. I want to print the dates from the file exp.txt. the date pattern is DD:MM:YYYY, I just want to print all the dates from the file exp.txt.
8 Answers Concentrix, IBM, Symantec, TCS,
How to install scsi driver in unix? give me explanation clearly?
How do I use grep to search for a file?
in UNIX,what is the command to remove directory with files?