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


Please Help Members By Posting Answers For Below Questions

How do I clear terminal command history?

794


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.

1070


What is nbtstat command?

799


What is the purpose output of cd command?

761


What Command used to lock user password?

818


What does free command do in linux?

796


What is cpu in linux?

766


What is gnu in linux?

726


What are commands in grammar?

725


In order to improve your system’s security you decide to implement shadow passwords. What command should you use?

747


How do I permanently delete linux history?

715


What is mkdir m in linux?

752


Which command is used to check the number of files and disk space used and the each user’s defined quota?

788


What is whois command in linux?

774


State and explain about features of UNIX?

775