Which file allows you to save modifications to the shell environment across sessions?
options
a)/etc/bash.conf
b)~/.profile
c)/etc/bashprofile
d)~/profile
Answers
Answered by
4
Answer:
bashrc
bashrc file. In general, if you want to make changes that have relevance to your interactive shell sessions, put them in . bash_profile. If you want the changes to run every time you run a shell script, etc., then put them in
Answered by
0
Answer:
The bashrc file allows us to save shell environment changes across sessions.
Explanation:
- When a new terminal session starts in interactive mode, a script in the form of a file, known as the bashrc file, is executed.
- The bashrc file is a shell script that runs every time Bash is launched.
- Along with determining how your command line interface (CLI) or Terminal app appears and behaves, the bashrc also lets you set up your operating system.
#SPJ3
Similar questions