Intro Flashcards

1
Q

Terminal

A

The program that gives you the command line.

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

What is a prompt?

A

Every command line starts with some symbol or symbols designed to “prompt” you to action. The prompt usually ends with a dollar sign $, and is preceded by information that depends on the details of your system. For example, on some systems the prompt might look like this:

Michael’s MacBook Air:~ mhartl$

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

The place where characters get printed out is known as?

A

Standard Out

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

Ctrl-C does what in the terminal?

A

Sends a control code to the terminal.

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

The program we’re using to run a command line is known as..

A

a shell

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

To exit a man page you should click what?

A

q for quit

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

The presence of a color indicates what?

A

It indicates that there is more information below.

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

The code man in the terminal does what?

A

prints a manual page of the command name you what.

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

What does “echo” do?

A

Prints whatever you’ve added after echo in the terminal.

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

Shortcut key to start at the beginning of the line?

A

control A

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

Shortcut key to start at the end of the line?

A

control E

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

Shortcut key to clear the line?

A

control U

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

Shortcut key to go to a specific position on the line?

A

Option + mouse click

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

What does “clear” do?

A

Clears the command line screen.

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

What is the keyboard shortcut for clearing the screen?

A

Control L

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

If you want to exit the terminal you can either type ____ or use the shortcut ____.

A

type exit or shortcut Control D