K-charreo

A blog of (mostly) linux-related tricks I've found in my way

Monday, December 12, 2016

Source .bashrc upon ssh connection

Trick source

Add this to you .bash_profile file:

# .profile
if [ -n "$BASH" ] && [ -r ~/.bashrc ]; then
    . ~/.bashrc
fi

Posted by aizquier at 4:33 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

My photo
aizquier
View my complete profile

Search K-charreo

Blog Archive

  • ►  2018 (1)
    • ►  March (1)
  • ►  2017 (3)
    • ►  April (1)
    • ►  February (1)
    • ►  January (1)
  • ▼  2016 (8)
    • ▼  December (1)
      • Source .bashrc upon ssh connection
    • ►  June (2)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (1)
  • ►  2015 (69)
    • ►  November (1)
    • ►  October (2)
    • ►  September (2)
    • ►  August (64)
  • ►  2013 (1)
    • ►  April (1)
  • ►  2009 (1)
    • ►  March (1)
  • ►  2008 (8)
    • ►  December (1)
    • ►  October (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (3)
    • ►  February (1)
  • ►  2007 (6)
    • ►  November (1)
    • ►  August (1)
    • ►  May (2)
    • ►  April (2)
Awesome Inc. theme. Theme images by Dizzo. Powered by Blogger.