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 sort a file of size 2N bytes, if I have N bytes of memory?
What are main anti-spam features available in sendmail?
What is the complete name of the default configuration file for LILO?
what is difference between TFTP abd FTP?
how can i make an user to nologin without locking the account for the user
why you are using nis server
how can i create samba server in fedora 9.0 ? and domain/LDAP controller! clilent side is windows pc .?
What text filter can you use to display a binary file in octal numbers?
How does the boot process[init levels] work on Linux? How is it different from Solaris?
How to know what are the packages required for any service? Example: How to know what are the package required for send mail services. using any command it is passable are not?
how to install linux OS? pls send step by step
am installed windows and later i installed ubuntu i want to unistall ubuntu can any one tel the procedure to uninstall ubuntu in my windows 7 please mail to me ---kiranpulsar2007@gmail.com and later i want to install ubuntu after uninstalling ubuntu tel the procedure for that also i dont know to patrition the hard disk drive please tel to them please reply