Results 1 to 3 of 3
i am beginner in linux . if there is any command which shows that the priviously typed command is successfully executed or not .i mean echo?...
- 03-31-2010 #1Just Joined!
- Join Date
- Apr 2008
- Posts
- 15
echo?
i am beginner in linux . if there is any command which shows that the priviously typed command is successfully executed or not .i mean echo?
- 03-31-2010 #2
You will find your answer in the link below.
It lists special variables of bash
Reference CardsYou must always face the curtain with a bow.
- 03-31-2010 #3
Sort of. Commands have an exit status. Successful commands return an exit status of 0, unsuccessful commands return a non-zero number. You can get the exit status of the last command with
Is that what you're looking for?Code:echo $?


Reply With Quote