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 minimum number of partitions you need to install Linux?
I want to configure production interface and manage interface, how to configure both interfaces in Linux. please post the answers
Give a Linux shell command to find all files in a directory which contain ip addresses.
How to findout, if the user is local user or NIS user in the Linux (RHEL)?
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
tell me some of the Linux HotKeys do you know?
how can i create samba server in fedora 9.0 ? and domain/LDAP controller! clilent side is windows pc .?
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 u use the iptable firewall to restrict ssh,telnet,ftp
You want to create a compressed backup of the users' home directories. What utility should you use?
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)
i want to install XP on RHEL5 with virtualization tell me step by step configuration