How do display error messages instantly when command fails?
Answers were Sorted based on User's Feedback
Answer / pankaj pal
To check the command successfully executed or not we can
run command echo $?
if the result is 0 meaning successful, else will be had a
problem.
For error messages you can check /var/log/
or /var/log/messages
| Is This Answer Correct ? | 2 Yes | 0 No |
How to load the old kernel without rebooting server
In how many ways linux can be installed n explain th steps involved in installation in any of the method..?
How do display error messages instantly when command fails?
What is the use of DNS Server? Name other servers works same as like DNS?
what are the default permissions for files and folders..?
will u plz send me the complete steps of installation of red hat linux on intel's core 2 duo processor?
How to trace any process background processing?
There are 4 network Interfaces, how can we find which one is Primary.
What is page-in and page-out in redhat linux?
What text filter can you use to display a binary file in octal numbers?
how to recollect root password
what restrict telnet for root itself but allow for other user