how to exit from command "source" and keep shell window?
how to exit from command "source" and keep shell window?
if i use "exit" , it will close shell window. i want to "exit" from "source" , but keep opened shell window. thanks |
Quote:
Code:
clear |
While "clear" will clear the screen for a terminal, or xterm session, CTRL-C will exit an existing program that may be running, which currently stops a terminal from accepting input. One can also use CTRL-Z to break, and then type "bg" to put a running program into the background.
What would be helpful here is a better description of what the exact problem is. |
"clear" and "ctrl+z" not work
that's a python project, use command "source venv/bin/activate" and get shell as : "(venv) creatxr@laptop:" i want to exit from "(venv)" return to "creatxr@laptop:" the two commands cannot do that if i use "exit" command , the shell window will close |
Try 'deactivate'.
|
Quote:
thanks. |
All times are GMT -5. The time now is 09:00 AM. |