Asked by: Edwin Stehr
Questioner General

Bashrc Is Not Loaded On Login

Link of bashrc is not loaded on login page is given below. Pages related to bashrc is not loaded on login are also listed.

Last Edited: 9th January 2021

37
1. Askubuntu.com

Added by: Robin Koss

Explainer

.bashrc not executed when opening new terminal - Ask Ubuntu

08.10.2012 - With Ubuntu, gnome-terminal does not normally run as a login shell, so .bashrc should be run directly. For login shells (like the virtual terminals), normally the file ~/.profile is run, unless you have either ~/.bash_profile or ~/.bash_login , but they are not there by default.
Url: https://askubuntu.com/questions/161249/bashrc-not-executed-when-openin...

44,085,433

Monthly Visits

2,238

Alexa Rank

IN

Popular in

Up

Service Staus

9h ago

Last Checked

2. Stackoverflow.com

Added by: Clarence Sawayn

Explainer

bashrc not loading until run bash command - Stack Overflow

22.05.2017 - Read the INVOCATION section from "bash(1)" for full details (that's the man page for bash; use man bash ). Your first shell upon logging in is a "login shell", 
Url: https://stackoverflow.com/questions/18393521/bashrc-not-loading-until-...

2,547,285,378

Monthly Visits

40

Alexa Rank

IN

Popular in

Up

Service Staus

7h ago

Last Checked

3. Stackexchange.com

Added by: Mr. Harold Treutel

Explainer

bash - bashrc not loaded on login - Unix & Linux Stack Exchange

05.06.2018 - You could link your .bash_login - used when you login - to your .bashrc - used for other bash shell sessions: mv -f .bash_login .bash_login.old 
Url: https://unix.stackexchange.com/questions/448079/bashrc-not-loaded-on-l...

910,476,019

Monthly Visits

111

Alexa Rank

US

Popular in

Up

Service Staus

9h ago

Last Checked

Added by: Tracy Watsica

Explainer

terminal - Why doesn't .bashrc run automatically? - Ask Different

28.04.2011 - If you do not see a line anywhere that says source ~/.bashrc , then enter the . After my ssh login I have everything loaded in ~/.bashrc .
Url: https://apple.stackexchange.com/questions/12993/why-doesnt-bashrc-run-...

inf

Monthly Visits

Alexa Rank

Popular in

Up

Service Staus

6h ago

Last Checked

4. Serverfault.com

Added by: Rhonda Lowe

Explainer

ssh - bashrc not loaded in /bin/bash shell - Server Fault

07.01.2016 - the ~/.bashrc file is loaded for interactive non-login shells, that's why running /bin/bash from ssh works as you expect. For login shells (amongst 
Url: https://serverfault.com/questions/747312/bashrc-not-loaded-in-bin-bash...

28,507,513

Monthly Visits

3,449

Alexa Rank

IN

Popular in

Up

Service Staus

15h ago

Last Checked

5. Superuser.com

Added by: Bradford Kris

Explainer

terminal - Bash not loading '.profile' in new session on Linux

16.08.2010 - When it starts as an interactive non-login shell it doesn't. It processes /etc/bash.bashrc (if that file or a similar file is enabled in your version of 
Url: https://superuser.com/questions/176404/bash-not-loading-profile-in-new...

inf

Monthly Visits

Alexa Rank

Popular in

Up

Service Staus

4h ago

Last Checked

6. Archlinux.org

Added by: Ms. Jody Roberts

Explainer

Problem with .bashrc not being sourced at login / Applications

I'm having problems getting one of my systems to source my .bashrc file automatically during login. I have tried everything that I know, but I may 
Url: https://bbs.archlinux.org/viewtopic.php?id=108056

7,725,375

Monthly Visits

12,596

Alexa Rank

US

Popular in

Up

Service Staus

4h ago

Last Checked

7. Github.com

Added by: Ashley Hickle

Explainer

.bashrc file didn't load when start bash in windows · Issue #2067

06.05.2017 - Even if '-l' is added, .bashrc is not loaded because there are files with would be read if bash be a login shell and you have ~/.bash_profile.
Url: https://github.com/Microsoft/WSL/issues/2067

1,514,504,865

Monthly Visits

67

Alexa Rank

US

Popular in

Up

Service Staus

21h ago

Last Checked

8. Gnu.org

Added by: Joyce Morissette

Explainer

Bash Startup Files (Bash Reference Manual) - Gnu.org

When Bash is invoked as an interactive login shell, or as a non-interactive shell will force Bash to read and execute commands from file instead of ~/.bashrc .
Url: https://www.gnu.org/s/bash/manual/html_node/Bash-Startup-Files.html

9,285,467

Monthly Visits

10,495

Alexa Rank

US

Popular in

Up

Service Staus

10h ago

Last Checked

9. Linuxquestions.org

Added by: Beth Kulas III

Explainer

.bashrc doesn't execute on ssh login - LinuxQuestions

The short answer is that BASH executes ~/.bashrc when you start "an interactive shell that is not a login shell." When the shell is a login shell, 
Url: https://www.linuxquestions.org/questions/linux-software-2/bashrc-doesn...

10,435,577

Monthly Visits

9,347

Alexa Rank

IN

Popular in

Up

Service Staus

11h ago

Last Checked

10. Medium.com

Added by: Ismael Miller

Explainer

Zsh/Bash startup files loading order (.bashrc, .zshrc etc.) - Medium

24.09.2017 - If you have ever put something in a file like .bashrc and had it not work, or are confused by why there are so many different files — .bashrc, 
Url: https://medium.com/@rajsek/zsh-bash-startup-files-loading-order-bashrc...

1,001,378,192

Monthly Visits

101

Alexa Rank

IN

Popular in

Up

Service Staus

10h ago

Last Checked

11. Ubuntuforums.org

Added by: Martin Gaylord

Explainer

[ubuntu] ~/.profile not run at login - Ubuntu Forums

13.08.2009 - ~/.profile at the end of .bashrc, and removing the link from .profile to .bashrc to avoid an 2. non-login shells, which only execute ~/.bashrc.
Url: https://ubuntuforums.org/showthread.php?t=1239083

7,490,373

Monthly Visits

12,988

Alexa Rank

US

Popular in

Up

Service Staus

18h ago

Last Checked

12. Ycombinator.com

Added by: Alfonso Armstrong

Explainer

Show HN: A fix for the .bash_profile .bashrc .profile madness | Hacker

11.08.2012 - login shell .profile interactive non-login shell .bashrc run by the remote does not load bashrc when it is both an interactive and a login shell.
Url: https://news.ycombinator.com/item?id=4369485

18,960,085

Monthly Visits

5,169

Alexa Rank

US

Popular in

Up

Service Staus

18h ago

Last Checked

Co-Authored By:

Sign-in-vault Staff Editor

9

9th January 2021

157

12

Active

11

Answers

11

Images

13

Users

93% of readers found this page helpful.

4/5

Click a star to add your vote