Command Line Flashcards
What is a CLI?
Command line interface.
Way to interact with application using text.
What is a GUI?
Graphical user interface.
vsCode is a GUI text editor.
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.