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
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 are grep patterns called?
What is a ulimit in unix?
What is the use of man command in linux?
How do I check disk space in bash?
What is netstat command in linux?
Find command can search for files by
What command would you use to check how much memory is being used by linux?
What is make command in linux?
How do you execute more than one command or program from a single command line entry?
How do you ask politely?
How do you open a command prompt when issuing a command?
What do you mean by directory?
What are the 4 kinds of sentences with examples?
Explain about the command lynx?