8
0
Any one can let me know the possible return codes for the command rm -rf other than zero i.e, possible return codes for failure cases. I want to know more detailed reason for the failure of the command unlike just the command is failed(return other than 0).
3@ØHankyPankyØ I'm actually surprised that the rm manpage doesn't describe the possible exit status codes. If you
man ls
on Ubuntu, it explains the reason for nonzero exit status – SheetJS – 2013-08-14T06:35:23.753Its a value greater than 0 . In case of error. – Arun – 2013-08-14T06:42:29.827
6I disagree with the migration from SO, since the OP is interested in the return codes it is very likely that this is a scripting/programming kind of issue. – Adrian Frühwirth – 2013-08-14T08:56:42.703
by the way, i am interest at the number of scenario it can return. Will it be OS dependent ? – None – 2013-08-14T10:43:20.297
kinda pissed about the migration myself... almost got the reversal achievement =P – Matt Joyce – 2013-08-15T02:50:51.107