Command line Flashcards

1
Q

What is CLI?

A

Command line interface a way to access directories and file through text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is GUI?

A

Graphical user interface, a way interact with files without text and using your mouse

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
Define use cases for these command lines 
man
cat 
ls 
pwd
echo
touch
mkdir
mv
rm 
cp
A

man- manual
cat- concatenate or view contents of the file and write them into the terminal unless otherwise stated
ls - list files
pwd - Want to see exactly where you are on the file structure
echo- prints whatever text you want can be placed in txt files (console.log for the terminal)
touch update access timestamps or last run or creates a file
mkdir can create directory
mv can move a file or rename the file
rm deletes a file or directories
cp copies files and directories

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is node.js

A

node.js is getting information from files and bringing them forward to the console or window

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What can node.js be used for?

A

Do JavaScript outside of the browser

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a REPL?

A

Read Evaluate Print Loop Reads inputs evaluates them decides prints the out come and waits for the next loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

When was Node.js created

A

2009 by Ryan Dahl

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What programming languages are back-end

A

python, ruby, c, c++, c, c#, php, javascript, sql, go, rust, swift, assembly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a computer process?

A

An instance of when a computer program is being run

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Roughly how many computer processes are running on your host operating system

A

300 or so

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Why should a full stack Web developer know that computer processes exist?

A

To check if the backend is still connected to the front-end vise-versa

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the process object in a node.js program?

A

A process is what is currently running

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How do you access the process object in a Node.js program

A

It is a global variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the data type of prcess.argv in Node.js

A

It’s an array of string

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a JavaScript module?

A

A way to store small functions and bundle them up into the program without coding all of them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly