105 Shells and Shell Scripting KA Flashcards

1
Q

105.1 Customize and use the shell environment

A

Key Knowledge Areas:

Set environment variables (e.g. PATH) at login or when spawning a new shell.
Write Bash functions for frequently used sequences of commands.
Maintain skeleton directories for new user accounts.
Set command search path with the proper directory.

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

Set environment variables (e.g. PATH) at login or when spawning a new shell.

A

a

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

Write Bash functions for frequently used sequences of commands.

A

a

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

Maintain skeleton directories for new user accounts.

A

a

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

Set command search path with the proper directory.

A

a

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

105.2 Customize or write simple scripts

A

Key Knowledge Areas:

Use standard sh syntax (loops, tests).
Use command substitution.
Test return values for success or failure or other information provided by a command.
Execute chained commands.
Perform conditional mailing to the superuser.
Correctly select the script interpreter through the shebang (#!) line.
Manage the location, ownership, execution and suid-rights of scripts.

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

Use standard sh syntax (loops, tests).

A

a

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

Use command substitution.

A

a

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

Test return values for success or failure or other information provided by a command.

A

a

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

Execute chained commands.

A

a

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

Perform conditional mailing to the superuser.

A

a

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

Correctly select the script interpreter through the shebang (#!) line.

A

a

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

Manage the location, ownership, execution and suid-rights of scripts.

A

a

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