Shell variables Flashcards
1
Q
HOME
A
Your home directory, such as /home/smith
2
Q
LOGNAME
A
Your login name, such as smith. Same as USER.
3
Q
A
Your incoming mailbox.
4
Q
OLDPWD
A
Your shell’s previous directory, prior to the last cd command.
5
Q
PATH
A
Your shell search path: directories separated by colon.
6
Q
PWD
A
Your shell’s current directory.
7
Q
SHELL
A
The path to your shell, e.g. /bin/bash
8
Q
TERM
A
The type of your terminal.
9
Q
USER
A
Your login name, same as LOGNAME.