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 difference between TFTP abd FTP?
Tell me the 5 differences between Linux and Unix?
I want to send pop-up message to samba users when they access the shared folder.... for eg: i want to tell them (dont copy mp3 and video files)
What are the questions we are expecting for 2yrs. experience guy for linux company interview questions?
What text filter can you use to display a binary file in octal numbers?
How To Hide the FTP Version?
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 catagories tickets in RHEL, which tickets are belong to PROBLEM, INCIDENT and CHANGE management? please given to me with examples
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?
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.
what is the use of runlevel 4 in redhat linux? in which cases it will use.
how do you configure linux system as a router?