Collection of commands that I use often
ls -lh example.txt- In the current directory
du -sh .[^.]* * | sort -h- Recursively search in the current directory, for files larger than 100MB
find . -type f -size +100M -exec du -h {} + | sort -hsudo du -sh /home/* | sort -hdf -hdf -h directory_namedu -sh .docker run --gpus all -v /mnt/sda/{your_directory}:/home/{your_username} -d --name {container_name} {image_name}docker run --gpus all -d --name {container_name} {image_name}docker exec -it {container_name} /bin/bashgit rm -r --cached .
git add .
git commit -m "Reapply .gitignore"git clone https://github.com/username/myproject.git myproject-clonewget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x Miniconda3-latest-Linux-x86_64.sh
# install without interaction
./Miniconda3-latest-Linux-x86_64.sh -b -u
# conda bash init
~/miniconda3/bin/conda initconda create -n env_name python=3.9conda install python=3.Xconda config --prepend pkgs_dirs [PATH]
conda config --prepend envs_dirs [PATH]sudo apt-get install tmuxpoetry env remove $(which python)curl -sSL https://install.python-poetry.org | python3 -