command-line-basics Flashcards
1
Q
What is a CLI?
A
Command line interface
2
Q
What is a GUI?
A
graphical user interface
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