Environment Variables in Linux Flashcards
1
Q
What is a environment variables?
A
It is a variable that is accesible during the entire session in the shell.
2
Q
What is the command to see the list of the environment variables?
A
env
3
Q
How is displayed the SSH_CONNECTION environment variable?
A
SSH_CONNECTION=source Port Destination Port
4
Q
What is the command to create a new variable?
A
export new_variable_name=VALUE