rm -R the R means recursive. Is -R always recursive in other commands? Is there any solidarity with meaning of arguments or can they be whatever?
No, it's not. For scp(1) for example it's -r.Is -R always recursive in other commands?
It's a hit and miss really. They do try sometimes but it just doesn't always line up. What's really annoying at times is similar commands using different options to do the exact same thing.Is there any solidarity with meaning of arguments or can they be whatever?
No, it's not. For scp(1) for example it's -r.
It's a hit and miss really. They do try sometimes but it just doesn't always line up. What's really annoying at times is similar commands using different options to do the exact same thing.
$ scp -p 22222 hostname:/home/file ~/download
vs $ ssh username@hostname -P 22222
Actually it's opposite ;-)$ scp -p 22222 hostname:/home/file ~/download vs $ ssh username@hostname -P 22222
ssh -p22222 . . .
always takes lowercase p, but scp -P22222 . . .
capital P.rm -R the R means recursive.
rm -r . . .
takes both r and R for the same purpose.