Bash where are user-set variables located?

1
Marcella Hagenes asked a question: Bash where are user-set variables located?
Asked By: Marcella Hagenes
Date created: Sat, Mar 20, 2021 3:29 AM
Date updated: Mon, Aug 1, 2022 6:20 PM

Content

Video answer: Bash tutorial 2: using variables

Bash tutorial 2: using variables

Top best answers to the question «Bash where are user-set variables located»

  • ~/.bashrc - Variables stored here will reside in the user's home directory and are only accessible by that user. The variables get loaded any time a new shell is opened. /etc/profile - Variables stored here will be accessible by all users and are loaded whenever a new shell is opened.

Video answer: Variables in bash

Variables in bash

Your Answer

Video answer: Export variables - why you need to export bash variables

Export variables - why you need to export bash variables