What is the .baschrc file?

Bash Liste Des Attaques Ovh

What is the .baschrc file?

About

.bashrc is a startup script that is executed by bash for:

The rc stands for runtime configuration.

You can overwrite it with the –rcfile file bash options

How to execute bashrc also for a login shell

In login script (ie /etc/profile)

if [ -n "$BASH_VERSION" ]; then
    # include .bashrc if it exists
    if [ -f "$HOME/.bashrc" ]; then
    . "$HOME/.bashrc"
    fi
fi





Discover More
Bash Liste Des Attaques Ovh
Shell - (Startup|Login) script (.bash_profile, .profile, .login)

The shell login scripts are the script that launch automatically after a login shell and permit to store permanently the values of environment variables. bashrc You can found them in two directory:...



Share this page:
Follow us:
Task Runner