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 |
How to know a process is a zombie or orphan process?
What is an Unix command to convert HEX value to ASCII value located in any flat file.
The command grep first second third /usr/you/myfile a) prints lines containing the words first, second or third from the file /usr/you/myfile b) searches for lines containing the pattern first in the files second, third, and /usr/you/myfile and prints them c) searches the files /usr/you/myfiel and third for lines containing the words first or second and prints them d) replaces the word first with the word second in the files third and /usr/you/myfile e) None of the above
what are the different hardwares available?
Can you write a command to erase all files in the current directory including all its sub-directories?
What does 'mkdir' command do in UNIX?
How can you change the owner or group of a file?
What is the syntax of grep command and what is its use?
What is a command and examples?
Give Command that will move a single file called "unix.txt"
What Command is used to make a directory?
why unix operating system provides more security than other operating systems?