1 | initial version |
You can put the following command in your $HOME/.profile file.
sage -notebook
This file is executed every time you login.
If you are having multiple simultaneous logins, then you can put some checks whether sage is already running, e.g. using script like
if ps aux | grep 'sage'
then
echo "Sage already Running";
else
sage -notebook
fi