Shell variables Flashcards

1
Q

HOME

A

Your home directory, such as /home/smith

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

LOGNAME

A

Your login name, such as smith. Same as USER.

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

MAIL

A

Your incoming mailbox.

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

OLDPWD

A

Your shell’s previous directory, prior to the last cd command.

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

PATH

A

Your shell search path: directories separated by colon.

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

PWD

A

Your shell’s current directory.

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

SHELL

A

The path to your shell, e.g. /bin/bash

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

TERM

A

The type of your terminal.

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

USER

A

Your login name, same as LOGNAME.

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