Commonly used Linux command options

When you create a shell script, some of the letters options already have some degree of standard meaning in the Linux world, if they can support these options in the shell script, it will be excellent.
Here are some commonly used Linux command-line options:

Options Description (translated meaning)
-a all, show all objects
-c count, generates a count
-d directory, specify a directory
-e extend, expand an object
-f file, reads the specified data file
-h help, display help information about the command
-i ignorecase, ignore the text case
-l Long format version list, generating an output
-n number, using the non-interactive mode (batch)
-O output, redirect all output to the specified output file
-q quiet, run in quiet mode
-r recursive, directories and files recursively processing
-s silent, run in quiet mode
-v verbose, generate detailed output
-x exclude, exclude an object
-Y yes, answer yes to all questions
Published 75 original articles · won praise 7 · views 10000 +

Guess you like

Origin blog.csdn.net/zhengdong12345/article/details/101065926