[Cs3] ssh and c++ alias
Mikhail Nesterenko
mikhail at cs.kent.edu
Sun Jun 14 21:13:22 EDT 2015
CS3 students,
Here is a hint from a fellow student.
Thanks,
--
Mikhail
Thomas Taylor wrote:
> Took me a while to sort this out on hornet
>
> in my home directory:
> .profile which sources .bash_profile
>
> had to add:
> if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
> into my .bash_profile file for it to execute my .bashrc on ssh login
> otherwise the aliases in my .bashrc are not active in the ssh session
>
> by default there is no .bash_aliases file, my research showed aliases go in
> the .bashrc file on centos 7, problem was that this file was not referenced
> on ssh login
>
> maybe this can/will help someone else
More information about the cs3
mailing list