What does ubuntu do after loading ~/.bashrc?
Bjoern Voigt
bjoernv at arcor.de
Thu Apr 21 21:20:38 UTC 2016
Peng Yu wrote:
> Hi, Sometime, when I try to `ssh -v` to an ubuntu, it becomes
> unreponsive after loading ~/.bashrc (I know this because I put some
> print statement at the end of ~/.bashrc). Does anybody know how to
> figure out how to print out any debug message from the progresses
> envoked after ~/.bashrc is loaded?
For testing insert the line
set -x
at the beginning of your ~/.bashrc file. You should disable this line
later, because it may break automatic "ssh" jobs.
Greetings,
Björn
More information about the ubuntu-users
mailing list