I want to execute “source mysite/bin/activate”
Whever I ssh into that server (and login)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Write what ever command you want to run at the time of login in the
.bashrcor.bash_profilefile in the user’s root directory (/home/myusername/.bashrc).As pointed out by Alex Reece, alternatively, you can also look for
.loginfile and add the command there.