Command Line Flashcards

1
Q

What does it mean to interact with a computer?

A

Interacting with a computer means to exchange information, sending and receiving data between the user and the computer.

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

What are some input devices used to interact with a computer?

A

Input devices include the keyboard, mouse, microphone, camera, and touch-sensitive devices.

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

What are some output devices used in human-computer interaction?

A

Output devices include speakers, monitors, headsets, and haptic devices.

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

What are GUIs and why are they popular?

A

Graphical User Interfaces (GUIs) are popular because they require very little training to use and make interacting with computers easy.

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

What is the command line and why is it considered powerful?

A

The command line is a text-based interface that allows developers to perform tasks quickly and with fewer errors than GUIs, especially when they gain experience.

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

What is the cd command used for in the command line?

A

The cd (change directory) command is used to navigate between directories in the command line.

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

How do you create a new file using the command line?

A

Use the touch command followed by the file name, e.g., touch example.txt, to create a new file.

touch example.txt

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

How do you create a new folder using the command line?

A

Use the mkdir command followed by the folder name, e.g., mkdir myFolder, to create a new directory.

mkdir myFolder

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

What does the history command do in the command line?

A

The history command displays a list of the most recently typed commands.

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

What are some advanced tasks that can be done using the command line?

A

Advanced tasks include tracking software, controlling remote servers, managing files, running software, and containerization.

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

What command is used to open a file in VS Code from the command line?

A

The code command is used to open a file in VS Code, e.g., code example.js.

code example.js

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

How do you move back to the parent directory using the command line?

A

Use the cd.. command to move back to the parent directory.

cd..

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