In DOS or Unix, what is the -r called when you do a "command" -r...is it Switches?

rundilEXE

Banned
Jul 19, 2001
103
0
0
-r removes the read only attribute, ex. c:\>attrib c:/msdos.sys -r(removes read only)-h(removes hidden attribute)-s(changes to archive file from system file)the only names I could find in ye trusty dos bible, were as you said, "switch" "Command" or "toggle" Take u'r pick, hehehe, they still do the same thing;);)
 

BDawg

Lifer
Oct 31, 2000
11,631
2
0
Yes, -r also stands (and IMHO primarially) for recursive.

If you perform an rm -r / , it will remove everything for / onwards.