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 restrict telnet for root itself but allow for other user
What is LILO?
Where is standard output usually directed?
1 which file contains information about os wether it's 32 bit or 64 bit os 2 difference between logical block and physical block?? 3 what is the size of logical block and physical block?? 4 daemon for nfs on client end as well as server end??? 5 how to confirm from client end about nfs server sharing?? 6 what contains information about file and directory creating time or modification time??
plz mention some interesting problems you faced and how you solved it?
Friends, I don't have enough free space in root directory. but in home directory I have 40gb free. So I can not install anything in root directory (which occupies more space) Please suggest me If there is any possibility to increase the root directory size by minimising the home directory's.
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.
what is the use of runlevel 4 in redhat linux? in which cases it will use.
What is the difference between RedHat linux and Fedora and Ubuntu?
What is the difference between ext3 and ext4?
how do you configure linux system as a router?
How do display error messages instantly when command fails?