When setting up a fresh VM.
sudo apt update
sudo apt-get install vim tmux wget
- Kill all running programs. Most of the time I will do:
ps -aux | grep "program"
to search for specific stuff, and then to kill -9 "pid"
, but if you have multiple instances, you can just use pkill
:
pkill -f "program"
I need to write this up...
To use docker with GPU, so you will need the flag --gpus all
when running the container.
You can alias some of this:
# add to your `~/.bashrc`
alias drun="docker run -ti --rm --gpus all"