conda search -c example_channel -f example_package
conda update -n base -c defaults conda
conda env create -f example.yml
conda env remove -n example_name
conda clean --all
name: example_name
channels:
- example_channel_1
- example_channel_2
dependencies:
- example_package_1=1.0.5
- example_package_2=1.1.3
- example_package_2=3.0.5
conda activate base
conda install anaconda-clean
anaconda-clean --yes
rm -rf path/to/miniconda3
rm -rf ~/.anaconda_backup
#!/bin/bash
chmod +x myscript.sh
command > log.txt 2>&1
command > stdout.log 2> stderr.log
du -sh example_file
find . -type f -empty -delete -o -type d -empty -delete