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 the complete name of the default configuration file for LILO?
How to send automated email to a set of people at fixed time ?
What is the name and path of the main system log?
There are 4 network Interfaces, how can we find which one is Primary.
This question is belong to linux support. "one of my customer told to me, my application is getting slow response". how to resolve the issue. what are the steps you will follow to resolve the issue.
As a system admin i want to know some things what are the troubleshooting issues we are facing frequently and what are the tickets will be raised.
How to recover a deleted file in linux ?
How do display error messages instantly when command fails?
Tell me command which is use for create quota database in Linux.
How to ""Add"" not replace address to same network card other than the alias way.... ??????
How is the difference between ftp and sftp ? and explain how to create ftp server and sftp server with example ?
2 Answers Bank Of America, IBM,
Who owns the data dictionary?