Command-line Flashcards
What is a CLI?
command line interfaces processes commands to a computer program in the form of lines of text
What is a GUI?
Graphical user interface is a visual way of interacting with a computer using items like windows, icons, menus and targets consumers of technology
What are the use case for “man” command?
an interface to the online reference manuals - man formats and displays the online manual pages
What are the use case for “cat” command?
print the contents of txt files and concatenate - combine the contents of files
What are the use case for “ls” command?
list directory contents - displays names of files contained within that file
What are the use case for “pwd” command?
return working directory name - To verify that you’re in the correct directory
What are the use case for “echo” command?
write arguments to the standard output like a console.log
What are the use case for “touch” command?
change file access and modification times - sets the modification and access times of files
What are the use case for “mkdir” command?
make directories - creates directories named as operands
What are the use case for “mv” command?
lets you move files / rename file
What are the use case for “rm” command?
remove directory entries
What are the use case for “cp” command?
lets you copy files
What are the three virtues of a great programmer?
laziness, impatience, hubris
What are the use case for “cd” command?
to change directories