About 2,500,000 results
Open links in new tab
  1. What is the purpose of .bashrc and how does it work?

    254 .bashrc is a Bash shell script that Bash runs whenever it is started interactively. It initializes an interactive shell session. You can put any command in that file that you could type at the …

  2. command line - Where is .bashrc? - Ask Ubuntu

    There is a .bashrc in every user's home folder (99.99% of the time) as well as one system-wide (which I don't know the location of in Ubuntu). The quickest way to access it is nano ~/.bashrc …

  3. What goes in ~/.profile and ~/.bashrc? - Ask Ubuntu

    Jun 2, 2022 · I'm having trouble wrapping my head around what belongs in ~/.profile and what belongs in ~/.bashrc. From what I've read, it seems to me that ~/.profile should be used for …

  4. Where is .bashrc file found in Linux? - Unix & Linux Stack Exchange

    Jun 24, 2015 · There is also /etc/bashrc (/etc/bash.bashrc in Debian-based Linux) which contains System wide functions and aliases. By default, this is set, even for non-interactive, non-login …

  5. What is a .bashrc file and what does it do? - Ask Ubuntu

    Apr 17, 2019 · The .bashrc file itself contains a series of configurations for the terminal session. This includes setting up or enabling: colouring, completion, the shell history, command aliases …

  6. Is there a ".bashrc" equivalent file read by all shells?

    Apr 21, 2016 · Is ~/.bashrc the only place to specify user specific environment variables, aliases, modifications to PATH variable, etc? I ask because it seems that ~/.bashrc seems to be bash …

  7. linux - What's the difference between /etc/bash.bashrc and …

    Under Ubuntu, this file, as commented at the beginning, has to be "sourced" from the /etc/profile file. I added an alias command at the end of the /etc/bash.bashrc, and appended the …

  8. How do I restore .bashrc to its default? - Ask Ubuntu

    Jan 13, 2014 · Copy .bashrc to your home folder to restore it to the default. Via the run menu Press Alt F2, type gedit .bashrc, press Enter. Edit as needed. Press Alt F2, use the command …

  9. How to correctly add a path to PATH? - Unix & Linux Stack Exchange

    Feb 21, 2016 · I'm wondering where a new path has to be added to the PATH environment variable. I know this can be accomplished by editing .bashrc (for example), but it's not clear …

  10. bashrc - MinGW Bash profile - Super User

    bash is probably getting started as a login shell, in which case it doesn't read .bashrc automatically. Instead, it reads .bash_profile. From the Bash manual: So, typically, your …