seat 3 chapter 1 exploring linux command-line tools Flashcards

1
Q

what are shell environment variables?P4

A

They are placeholders for data that may be useful to many programs

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

What is the Linux shell used for?P4

A

Entering commands and configuring for each individual user, and Linux provides a range of available shells.

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

The original C shell isn’t used much on Linux, but if a user is familiar with —-, tcsh makes a good substitute?P5

A

chs

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

What was the ksh designed for?P5

A

To make the best features of the bourn shell and the c shell and extend them.

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

What is zsh?P5

A

It tasks shell evolution further than the Korn shell by incorporating features from earlier shells and adding still more.

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

In Linus most users run — because it is the most popular shell?P5

A

bash

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

What is a good firs command to try?P6

A

uname

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

What will uname show?P6

A

What O S is being run.

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

Internal commands that are built into the shell program are also a called what?P6

A

Built in commands

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

What is Time an operation?P7

A

The time command times how long subsequent commands take to execute.

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

What is terminate the shell?P7

A

It is the exit and logout commands both to terminate the shell.

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

Keep in mind that even when external commands are installed, the —— —— takes precedence?P8

A

internal command

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

What is PATH?P8

A

It is a list of directories in which commands can be found.

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

How do you retrieve a command?P10

A

The simplest way to do this is to press the up arrow key on your keyboard; this brings up the previous command.

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

How do you move within the line?P10

A

Press Ctrl+a orCtrl+e to move the cursor to the start or end of the line respectively. Ctrl+b and Ctrl+f do the same moving backward and forward within the line

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