Command Line / Node.js Flashcards
What is a CLI?
Command-line interface - a form of user interface that processes commands to a computer program in the form of lines of text
What is a GUI?
Graphical user interface - a form of user interface that allows users to interact with electronic devices through graphical icons instead of text-based user interfaces
What does the man command do?
displays manual for command information
What does the cat command do?
concatenate files and prints to the command prompt
What does the ls command do?
list directory contents
What does the pwd command do?
print name of the current/working directory
What does the echo command do?
display a line of text
What does the touch command do?
create an empty file; change file timestamps
What does the mkdir command do?
make directories
What does the mv command do?
move/rename files or directories
What does the rm command do?
remove files or directories
What does the cp command do?
copy files and directories
What are the three virtues of a great programmer?
laziness, impatience, hubris
What is Node.js?
a program that allows JavaScript to be run outside of a web browser
What can Node.js be used for?
to build back ends for Web applications, command-line programs, or any kind of automation that developers wish to perform