Getting Started with Command Line

67

A command is a program that tell the operation system to do something

Syntax: command [options] [arguments]

where an argument is an information passed to command for processing ( e.g. path, URL or any string )

Example: firefox http://linux.com

where an option is an information passed to command for changing the way it performs ( e.g. letter or word )

Example: firefox –safe-mode http://paypal.com

Note: option are often preceded by a hyphen (-) if it’s a letter and two hyphens (–) if it’s a word

Example: firefox -h

Example: firefox –help

Note: sometimes more than one option can be form string

Example: firefox -v -h

Example: firefox -vh

Note: some options have values

Example: firefox -P default http://linux.com

Don’t forget follow us on twitter @cmdnix ,,