Bash Option
An option, also called a flag, changes how a command works. Short options are one letter after a dash, like -r. Long options are words after two dashes, like --lines.
Options usually come before the arguments. Many short options can be combined, so ls -l -a is the same as ls -la.
Sort in reverse order
The file fruits.txt has the lines banana, apple and cherry:
sort fruits.txt
apple
banana
cherry
sort -r fruits.txt
cherry
banana
apple
Short and long form
wc -l fruits.txt
3 fruits.txt
wc --lines fruits.txt
3 fruits.txt