How do display error messages instantly when command fails?
Answer Posted / rallapalli
HE did not ask how to redirect error of a command. He said
clearly. How do you display error message instantly when
command fails.
ans:
By default it will display no need to do any thing. when u
type wrong command the error will display on screen.
Ex:
#usradd tom
ERR: command not found
ok?
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
How do I clear terminal command history?
Write a command that will do the following: -look for all files in the current and subsequent directories with an extension c,v -strip the,v from the result (you can use sed command) -use the result and use a grep command to search for all occurrences of the word orange in the files.
What is nbtstat command?
What is the purpose output of cd command?
What Command used to lock user password?
What does free command do in linux?
What is cpu in linux?
What is gnu in linux?
What are commands in grammar?
In order to improve your system’s security you decide to implement shadow passwords. What command should you use?
How do I permanently delete linux history?
What is mkdir m in linux?
Which command is used to check the number of files and disk space used and the each user’s defined quota?
What is whois command in linux?
State and explain about features of UNIX?