Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do display error messages instantly when command fails?

Answers were Sorted based on User's Feedback



How do display error messages instantly when command fails? ..

Answer / sureshkumar

/var/log/message

Is This Answer Correct ?    6 Yes 1 No

How do display error messages instantly when command fails? ..

Answer / ravikumar

echo $?

Is This Answer Correct ?    3 Yes 0 No

How do display error messages instantly when command fails? ..

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

How do display error messages instantly when command fails? ..

Answer / aravinth

you can try
cat /etc/var/log

Is This Answer Correct ?    7 Yes 7 No

Post New Answer

More Linux AllOther Interview Questions

How to load the old kernel without rebooting server

1 Answers  


In how many ways linux can be installed n explain th steps involved in installation in any of the method..?

1 Answers   IBM,


How do display error messages instantly when command fails?

4 Answers  


What is the use of DNS Server? Name other servers works same as like DNS?

2 Answers  


what are the default permissions for files and folders..?

8 Answers   IBM,


will u plz send me the complete steps of installation of red hat linux on intel's core 2 duo processor?

1 Answers  


How to trace any process background processing?

5 Answers  


There are 4 network Interfaces, how can we find which one is Primary.

2 Answers  


What is page-in and page-out in redhat linux?

1 Answers  


What text filter can you use to display a binary file in octal numbers?

1 Answers  


how to recollect root password

3 Answers   Google,


what restrict telnet for root itself but allow for other user

3 Answers   CA,


Categories