Show Menu
Cheatography

Command Argument Documentation Cheat Sheet by

Provide Syntax descriptions for specifying Command Line Tools

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. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Linux Command Line Cheat Sheet
          Subversion Cheat Sheet
          VI Editor Cheat Sheet

          More Cheat Sheets by JesseKPhillips

          D Scripting Toolbox Cheat Sheet
          Git Rebase Workflow Cheat Sheet