Node.js Flashcards
What is a code block? What are some examples of a code block?
section of code enclosed within { }, ex: function, conditional, loop
What is a CLI?
command-line interface, text-based
What is a GUI?
graphical-user interface, graphical icon-based
man
user manual for commands
cat
combine content of files
ls
shows content of directory
pwd
shows current directory
echo
prints out text on terminal, like console.log( )
touch
changes file timestamps, can be used to create a new file
mkdir
creates a new directory
mv
renames or moves a file
rm
deletes a file
cp
copies a file
What are the three virtues of a great programmer?
laziness, impatience, hubris
What is Node.js?
a program that allows JS to be run outside of a web browser
What can Node.js be used for?
it can be used for back-ends for Web applications, command-line programs anything with automation
What is a REPL?
read-eval-print loop
When was Node.js created?
May 27, 2009
What is a computer process?
a process is the instance of a computer program that is being executed by one or many threads
Roughly how many computer processes are running on your host operating system (Task Manager or Activity Monitor)?
480 processes