Command Line Flashcards Preview

Web Development > Command Line > Flashcards

Flashcards in Command Line Deck (3)
Loading flashcards...
1

What is a CLI?

Command line interface.

Way to interact with application using text.

2

What is a GUI?

Graphical user interface.

vsCode is a GUI text editor.

3

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

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.