Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed python environment and everything related to that being a user xxx and in group nginx. When I try to activate the environment using the source /path/to/activate being user xxx I can do it but when I log in as user yyy who is in the group nginx and try to use the command -source /path/to/activate I am getting this error message source: command not found.

I have looked at this question here sudo: source: command not found but that doesnt help.

share|improve this question
What's in you $PATHvariable ? – NorTicUs Nov 6 '12 at 13:01
Thanks @NorTicUs I think I have solved the issue now. – Saad Nov 7 '12 at 12:01
up vote 2 down vote accepted

Ok I finally found a solution to this problem. When I create a new user that new user will have less functionality in command line. He wont be able to use UP arrow keys or copy and paste from the shell or commands like source and autocomplete. The reason for this is that the new user will be using default shell /bin/sh and all these functionality exists in /bin/bash. So one way to get around this is just change the shell you are using by typing the name of the shell.

$ bash

and it will change to bash shell and prompt will change as well by displaying the user and local host as well as the current directory like this.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.