The following files affect the behavior of the Bash shell:
A. ~/.bashrc
B. ~/.bash_profile
~/.bashrc is a shell script that is executed whenever a new instance of the Bash shell is started, such as when you open a terminal window. It is typically used to set environment variables, define aliases, and customize the shell's prompt.
~/.bash_profile is a shell script that is executed whenever a user logs into the system. It is used to set up the user's environment, including defining environment variables, setting the PATH, and defining functions and aliases. If the ~/.bashrc file exists, it is usually sourced from the ~/.bash_profile file.
This section is not available anymore. Please use the main Exam Page.LX0-104 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
linux_admin
2 years, 2 months agolinux_admin
2 years, 2 months ago