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 |
There are 4 network Interfaces, how can we find which one is Primary.
What is the difference between semaphore and spinlock?
what is meant by mysql clustering
why you are using nis server
My root password has been changed, how can i enter into the system without root password?
How to trace any process background processing?
What is the use of DNS Server? Name other servers works same as like DNS?
What file should you examine to determine the defined runlevels for your system?
how do you configure linux system as a router?
Without Using $date -dyesterday. How I get the yesterday's date ?
How to apply patch for multiple servers .
What is the difference between RedHat linux and Fedora and Ubuntu?