Monday, April 29, 2024
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 1032  / 1 Year ago, sat, november 12, 2022, 6:01:21

I know some useful environment-variables like $HOME, $UID, $BASH, $LOGNAME etc. which is useful to get information in terminal/command-line with using echo(ex: echo $LOGNAME)



I want to know what are the useful Environment variables available in Ubuntu? In other words Where I can find a list of useful standard bash environment-variables for Ubuntu with their uses?


More From » command-line

 Answers
1

Run env command on your terminal. It will list all the available environment variables.



See also the Ubuntu wiki on Environment Variables.



Also refer this question to know more about environment variables.


[#25020] Monday, November 14, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tionverflow

Total Points: 500
Total Questions: 115
Total Answers: 120

Location: Northern Ireland
Member since Mon, Nov 14, 2022
1 Year ago
;