Shell Variables Flashcards

1
Q

env

A

list out enviroment variables of the current logged in shell

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

echo $VARIABLE

A

prints the value of VARIABLE to the screen

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

set

A

list out all enviroment variables in alphabetical order

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

VARIABLE=value

A

format for declaring new variable Bash

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

export VARIABLE

A

exports variable and its value to other shell

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