Command Line Flashcards

1
Q

What is a CLI?

A

Command line interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a GUI?

A

Graphical user interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Give at least one use case for each of the commands listed in this exercise.

A

man - checking manual
cat - Concatenates files / Prints contents of file.

ls - check list of contents in directory
pwd - verify the current directory you are in
echo - Displays line of text
touch - Changes file timestamps.
mkdir - Create new directory
mv - rename directories and moves them.
rm - delete file or directory
cp - Copy a file
How well did you know this?
1
Not at all
2
3
4
5
Perfectly