Command Argument Documentation Cheat Sheet

A Software › Nope cheat sheet in English by JesseKPhillips

Provide Syntax descriptions for specifying Command Line Tools

3,165 views 1,112 downloads 16 Oct 2022 History

General Command

$ program command
 
Literal required command as argument
$ program <FI­LE>
 
Required Parameters (repla­cment expected)
$ program [FILE]
 
Optional Parameter (repla­cement expected)
$ program [-v, --verbose]
 
Flag

Flags

-f <Fi­leN­ame>
 
Single Character, Single Dash
--file <Fi­leN­ame>
 
Long Form, Double Dash
-fcvu
-f -c -v -u
 
Single Character, Group Multiple flags

Advanced Command

$ program {run | test}
 
Required Mutualy Exclusive Literal Command Options
$ program -t <FILE | DIRECT­ORY>
 
Required Mutually Exclusive Replac­ement Expected

Access

$ program
 
User Executed Command
# program
 
Elevated Permis­sions
 
Could be Executed as $ sudo program

Comments

No comments yet.

Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.