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 |
Tell me command which is use for create quota database in Linux.
tell me some of the Linux HotKeys do you know?
How to Trouble shoot performance issue in RHEL administration ? please give to one example
In Linux(RHEL) server have two users with same name. one is local user and second one is NIS user. if you login the server which user will login (local or NIS)
how do i check which package has installed some command suppose ls , mkdir or whatever ???
what is the difference between NIS and DNS...?
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 command can you use to review boot messages?
What file should you examine to determine the defined runlevels for your system?
what is the use of runlevel 4 in redhat linux? in which cases it will use.
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,
will u plz send me the complete steps of installation of red hat linux on intel's core 2 duo processor?