.BASH_PROFILE Bestandsextensie

Bash Interactive Login Shell File

Ontwikkelaar The GNU Project
Populariteit
3.7  |  30 Stemmen
 

Wat is een BASH_PROFILE-bestand?

Shell file used by Mac OS X and Linux terminal programs; stores setup instructions for the shell environment, such as environment variables and default scripts to execute; commonly used for setting user command prompt preferences as well as file system paths for directories and program binaries.

Meer informatie

BASH_PROFILE files are automatically run for interactive login shells. In other words, they are executed after a user logs in with their login credentials, or when a new terminal window is created. This differs from .BASHRC files, which are run only when Bash shell scripts are executed within a terminal that is already open.

Since users often want to run both BASH_PROFILE and BASHRC files upon login, they often include the following segment in the BASH_PROFILE file, which forces the BASHRC file to be run when only the BASH_PROFILE file is executed:

if [ -f ~/.bashrc ]. Then
  source ~/.bashrc
fi

OPMERKING: BASH_PROFILE files are hidden in a user's home directory and do not contain a filename prefix. They always use the filename .bash_profile.

Open meer dan 400 bestandsformaten met File Viewer Plus.Gratis downloaden

Programma's die BASH_PROFILE-bestanden openen of ernaar verwijzen

Mac
Inbegrepen bij het besturingssysteem
Gratis
Linux
Gratis
Categorie: Systeem
Bijgewerkt: 2010-08-18

Geverifieerd door FileInfo.com

Het FileInfo.com-team heeft onafhankelijk onderzoek gedaan naar het Bash Interactive Login Shell-bestandsformaat en de Mac and Linux-apps die op deze pagina worden vermeld. Ons doel is 100% nauwkeurigheid en we publiceren alleen informatie over bestandstypen die we hebben geverifieerd.

Als u aanvullingen of updates voor deze pagina wilt voorstellen, kunt u het ons laten weten.