What is a CLI?
-command-line interface (Bash, Cmder)
What is a GUI?
-graphical user interface (VS Code, MS Windows/Mac displays)
Give at least one use case for this command:
-man
-man man (prints the manual for manual)
Give at least one use case for this command:
-cat
-cat three-virtues.txt (prints the txt from the txt file)
Give at least one use case for this command:
-ls
-ls (prints the contents of current directory)
Give at least one use case for this command:
-pwd
-pwd (prints the address of your current working directory)
Give at least one use case for this command:
-echo
-echo ‘Hello, World!’ > hello.txt (inserts ‘Hello, World!’ into hello.txt file)
Give at least one use case for this command:
-touch
-touch new-file.txt (creates a new file and updates its timestamp)
Give at least one use case for this command:
-mkdir
-mkdir parent (creates a new directory)
Give at least one use case for this command:
-mv
-mv pokiemans pokemon (renames pokiemans directory to pokemon)
Give at least one use case for this command:
-rm
-rm extraneous.txt (removes extraenous.txt)
Give at least one use case for this command:
-cp
-cp original.txt copyOf.txt (makes a copyOf.txt file from original.txt)
What are some back end languages?
-JavaScript, Python, PHP, Java, Ruby, C, C#, C++, Rust, Perl, Swift, Go
What makes JavaScript unique?
-prototypal inheritance, “this”, event loops, closure
What is a computer process?
-an instance of a computer program that is being executed
What is NPM?
What is a package?
- exists as a directory with package + package.json + other files
How can you create a package.json with npm?
2. “npm init -y” (default package.json) or “npm init” (manually answer prompts)
What is package.json?
What is a dependency and how to you add one to a package?
- add new dependencies by installing them in the root directory of your package “npm install” and adding “–save”
What happens when you add a dependency to a package with npm?
What does “npm init” do?
“npm init” is a command to scaffold out your project
“npm init –yes” will instantly initialize a project with default values
What is on the first line of an HTTP response message?
What is on the first line of an HTTP request message?