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 |
what is meant by mysql clustering
what is the difference between unix and linux...
I have accidently deleted my fstab... how do i recover/ regenerate the file?????? in rescue mode i cannot create a new file since the filesystem is readonly and could not mount in readwrite mode ?????????
what is the difference between semaphore, mutex & spinlock?????
how do you configure linux system as a router?
What is the minimum number of partitions you need to install Linux?
What is the difference between an argument and an option/switch?
My root password has been changed, how can i enter into the system without root password?
What file should you examine to determine the defined runlevels for your system?
Give a Linux shell command to find all files in a directory which contain ip addresses.
how u use the iptable firewall to restrict ssh,telnet,ftp
When you install RedHat what is the kernel mode ? What is kernel compilation / upgrade ?