Passing options like -l or --word to commands, or parsing them in scripts

learn more… | top users | synonyms

2
votes
1answer
70 views

Understanding passwd --keep-tokens

On GNU/Linux, I do have trouble understanding the meaning of the --keep-tokens option for passwd. As it doesn't seem to be much used as I am not able to find any examples and only online copies of man ...
-4
votes
1answer
26 views

Explanations of {} and -exec in the find command; of the -nr and +4 options to sort

Can some on explain the below command find . -type f -size +50000k -exec ls -l {} \; | grep -v "data/dr" | sort -nr +4 1) why { } is used ? 2) what is the purpose of using +4 is used after -nr? 3) ...
1
vote
0answers
41 views

Using rsync with the verbose option and filtering the information displayed

I am using rsync with the -a -r and -v options to copy files and directories from one server to another. This all works fine. But when I make a change, for example, to a single file on the source ...
1
vote
0answers
129 views

Why is rm -r the same as rm -R?

If you look in the rm man page you see that rm -r, rm -R, and rm --recursive are all the same. -r, -R, --recursive remove directories and their contents recursively When using options, I'm ...