Command Line Flashcards

1
Q

What is a CLI?

A

Command line interface.

Way to interact with application using text.

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.

vsCode is a GUI text editor.

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:

man
cat
ls
pwd
echo
touch
mkdir
mv
rm
cp
A

man - Can open manuals.

cat - Can print the contents of file. Can combine contents of files.

ls - Can list the files/directories.

pwd - Prints name of current working directory.

echo - Prints the string you typed after echo.

touch - Can create files inside another file.

mkdir - Can make a new directory.

mv - Can move and rename directories.

rm - Can remove files/directories.

cp - Can copy files/directories.

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