conda
- 创建环境
conda create -n name python=3.8
- 指定路径创建环境
conda create --prefix="D:\\my_python\\envs\\my_py_env" python=3.6.3
- 删除环境
conda remove -n name --all
- 给当前环境安装包
conda install package
- 给指定环境安装包
conda install -n env_name package
- 删除指定环境的包
conda remove -n env_name package
- 激活环境
conda activate env_name
- 退出环境
conda deactivate
- 复制环境
conda create -n new_env_name --clone old_env_name
linux
- 查看文件夹大小
du -sh
- 查看文件数量
find . -type f -print | wc -l
ZIP
unzip test.zip
将test.zip解压到当前文件下unzip -n test.zip -d /tmp
将test.zip解压到/tmp目录下,并且不要覆盖已有文件unzip -v test.zip
查看test.zip内容,但不解压unzip -o test.zip -d tmp/
将test.zip解压到/tmp目录下,并且覆盖已有文件