Command Line Flashcards
What is a CLI?
Command line interface
What is a GUI?
graphical user interface
man
to get the manual on a command. Man cat for example.
cat
print the contents of a file or concatenate multiple files.
ls
display a list of contents of a directory.
pwd
print working directory
echo
can use echo to print messages and then create new txt files with that message
echo hello world > hello.txt
touch
touch changes file timestamps. creates new files
mkdir
make directory mkdir parent
mkdir -p parent/child/grandchild
mv
move command, used to rename directorys or move.
mv pokiemans to pokemon
rm
remove command
rm lol.txt
rm -r directoryname to delete all of its contents
cp
copy
cp nameoffile newnameofcopy
history
shows history of all recent command line commands to your terminal.
what are 3 features of a great programmer.
laziness, hubris, impatience
What is Node.js?
Node.js is a program that allows JavaScript to be run outside of a web browser. It is commonly used to build back ends for Web applications, command-line programs, or any kind of automation that developers wish to perform.
What can Node.js be used for?
It is commonly used to build back ends for Web applications, command-line programs, or any kind of automation that developers wish to perform.