Cheatography
https://cheatography.com
Provide Syntax descriptions for specifying Command Line Tools
General Command
$ program command |
|
Literal required command as argument |
$ program <FILE> |
|
Required Parameters (replacment expected) |
$ program [FILE] |
|
Optional Parameter (replacement expected) |
$ program [-v, --verbose] |
|
Flag |
Flags
-f <FileName> |
|
Single Character, Single Dash |
--file <FileName> |
|
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 | DIRECTORY> |
|
Required Mutually Exclusive Replacement Expected |
Access
$ program |
|
User Executed Command |
# program |
|
Elevated Permissions |
|
Could be Executed as $ sudo program
|
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by JesseKPhillips