p**v 发帖数: 853 | 1 not sure of your goal, but $? might work.
i am using tcsh. | o**a 发帖数: 86 | 2 that's just what i wanted to know.
thanx
【在 p**v 的大作中提到】 : not sure of your goal, but $? might work. : i am using tcsh.
| m****m 发帖数: 165 | 3 Which shell are you using?
【在 o**a 的大作中提到】 : that's just what i wanted to know. : thanx
| o**a 发帖数: 86 | 4 i was using bash. i have tried csh, tcsh, and ash.
all work with it.
【在 m****m 的大作中提到】 : Which shell are you using?
| l*****g 发帖数: 124 | 5 Or echo $status
【在 p**v 的大作中提到】 : not sure of your goal, but $? might work. : i am using tcsh.
|
|