bash_profile is callled when a non-interactive log-in shell
is invoked (e.g., starting terminal in Gnome or emacs shell)
bashrc is called when an interactive log-in shell is invoked
(e.g., ssh shells)
Add the following to .bash_profile and write all things that
you need to do in .bashrc so that even when a non-interactive
log-in shell is invoked, still .bashrc will get invoked.
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
This blog covers various topics from technical tweaks to latest in computational linguistics, Artificial Intelligence, Machine Learning and Wed Data Mining.
Subscribe to:
Post Comments (Atom)
Continuously monitor GPU usage
For nvidia GPUs do the follwing: nvidia-smi -l 1
-
If you used Adobe acrobat to annotate a PDF file and you had Acrobat crashed or had to restart the computer abruptly during the annotation p...
-
This is explained here https://docs.anaconda.com/anaconda/user-guide/tasks/remote-jupyter-notebook/ Follow the following steps to use Jupyt...
-
Usually figures and tables in LaTex get captions such as Figure 1 or Table 1. We can change these to other names as follows. \renewcommand...
No comments:
Post a Comment