.BASH_PROFILE Extension de fichier

Bash Interactive Login Shell File

Développeur The GNU Project
Popularité
3.7  |  30 Votes
 

Qu'est-ce qu'un fichier BASH_PROFILE ?

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.

Plus d'informations

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

REMARQUE: 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.

Ouvrez plus de 400 formats de fichiers avec File Viewer Plus.Téléchargement gratuit

Programmes qui ouvrent ou référencent les fichiers BASH_PROFILE

Mac
Inclus avec l'OS
Gratuit
Linux
Gratuit
Catégorie : Système
Mis à jour : 2010-08-18

Vérifié par FileInfo.com

L'équipe FileInfo.com a mené des recherches indépendantes sur le format de fichier Bash Interactive Login Shell et les applications Mac and Linux répertoriées sur cette page. Notre objectif est une précision de 100%, et nous ne publions que des informations sur les types de fichiers que nous avons vérifiés.

Si vous souhaitez suggérer des ajouts ou des mises à jour de cette page, faites-le-nous savoir.