Home : File Types : BASHRC File

.BASHRC File Extension

Windows user? Open any file with File Viewer Lite

File TypeBash Non-Interactive Login Shell File

DeveloperThe GNU Project
Popularity
4.0 (2 Votes) Thanks for voting!
Rare Uncommon Average Common Very Common
CategorySystem Files
FormatText

Text

This file is saved in a plain text format. You can open and view the contents of this file using a text editor.

Definition

Shell file used by Linux and Mac OS X terminal applications; contains setup instructions for the shell, such as declarations for environment variables and default scripts to run; often used for setting user command prompt preferences as well as paths for common directories and program executables.

More Information

BASHRC files are executed automatically when a user creates a new shell that is a non-interactive login shell. In other words, BASHRC files run for every Bash command that executes after the terminal has been created. This can be useful for initializing the same settings for embedded shell scripts.

BASHRC files differ from .BASH_PROFILE files, which execute for interactive login shells (when a user enters login credentials or opens a new terminal).

NOTE: BASHRC files are hidden and do not contain a filename prefix. They always have the filename .bashrc and are located in the user's home directory.

Program(s) that open .BASHRC files
Mac OS X LogoMac OS
Apple Terminal
MacroMates TextMate
GNU Bash
Linux LogoLinux
GNU Bash
Updated 8/18/2010