This repo contains commands for fixing error on ubuntu and some nice tricks to treat this ***king os
nvidia-smi
nvtop https://github.com/Syllo/nvtop
cp -a /source/. /dest/
df -h du -h | sort -h
ps -ef|grep python
sudo chmod -R 777 folder
ffmpeg -i file1.mpg -ar 16000 file1-enc.mpg
sudo nvidia-smi -pl 150
import tensorflow as tf sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))
conda config --set auto_activate_base false
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
- on server: jupyter notebook --no-browser --port=8889
- on local: ssh -N -f -L localhost:8888:localhost:8889 -p55022 vbee@14.160.70.42 localhost:8888
sudo dpkg -i /path/to/deb/file sudo apt-get install -f