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

What is type command in linux?

546


Explain getopts command of linux?

593


The command ‘umask -S’

593


What does top do in linux?

513


What does umask 077 mean?

547






What is FC command?

495


What is kill 9 in linux?

577


What is simple command?

529


How do I find the linux version?

507


What is df command in unix?

507


What is the role of case sensitivity in affecting the way commands are used?

620


What does (cd dir && command) do?

542


If we transfer 100 files by ftp to remote server, how to know the files are successfully transfer or some file are not transferred?

546


How commands work in linux?

518


What is grep command?

529