![]() ![]() RedHat also executes /etc/profile.d if the shell invoked is an “Interactive Shell” (aka Login Shell) where a user can interact with the shell, i.e. ![]() NOTE: On Ubuntu, instead of /etc/bashrc, the file is /etc/bash.bashrc. The above defines the $PS1 variable which sets the Terminal’s prompt to the left of the cursor. # Make bash check its window size after a process completes bashrc file for interactive bash(1) shells. The /etc/bashrc file contains: # System-wide. profile for sh(1)Įcho $ resolves to /usr/local/bin/bash. When macOS logs in a user, it executes file /etc/profile. I put in an echo in the various files that macOS executes upon user login, when a new terminal is opened, and when a bash shell is invoked: In /etc/profile.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |