Introduction to the Command Line Flashcards
What is an interface?
A system for operating a computer
What are the two components of an interface?
- A display of information about what the computer is doing
- A method for telling the computer what to do
What does CLI stand for?
Command Line Interface
What is the PS1 in a CLI?
The prompt
What information is included in the prompt in a CLI?
- User
- Hostname
- Current Directory
What symbol is used to represent the prompt in a CLI?
$
What indicates you can input text in a CLI?
The cursor
What does STDIN stand for?
Standard Input
What does STDOUT stand for?
Standard Output
What is the basic format for a command in a CLI?
[command][arguments]
What are arguments (in a CLI)?
Information provided to a command in the form of strings
What type of argument must proceed other arguments?
Flags
What type of flags can usually be combined?
Abbreviated flags
What type of arguments usually start with a single dash?
Abbreviated flags
What type of arguments usually starts with two dashes?
Full word flags
Which command can be used to obtain more information about another command?
man (manual)
What is a command (in a CLI)?
An instruction for the computer entered into STDIN
What symbol represents the home directory?
~