command-line-basics 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 - Brings up manual
cat - Concatenate Files to standard output
ls - List information about the FILEs (the current directory by default). Sort entries alphabetically if none of
pwd - Print the full filename of the current working directory.
echo - display a line of text
touch - change file timestamps / A FILE argument that does not exist is created empty
mkdir - make directories
mv - move (rename) files
rm - remove files or directories
cp - copy files and directories
history- GNU History Library

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