Answer Posted / 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 |
Post New Answer View All Answers
What are the general commands in using unix os for a beginner?
What is the search command in unix?
What are grep patterns?
What does 'mkdir' command do in UNIX?
How does shebang work?
Which unix command lists files/folders in alphabetical order?
What is the difference between cat and more command?
What is time_t?
How do I search for text in vi?
What is the use of tee command?
What is the function of grep command in unix?
What do chmod, chown, chgrp commands do?
how to sort the content of the file based on numeric values
How do I use grep to search for a file?
What does #!/ Bin sh do?