正确安装Anaconda后。我想在完成安装后执行以下操作。我在安装 anaconda 时忘记这样做了:
export PATH="/root/anaconda3/bin"
conda --version
conda command not found
Run Code Online (Sandbox Code Playgroud)
然后我打开
gedit /root/.bashrc
Run Code Online (Sandbox Code Playgroud)
我在文件末尾添加
export PATH="/root/anaconda3/bin"
Run Code Online (Sandbox Code Playgroud)
但我仍然得到
conda --version
conda command not found
Run Code Online (Sandbox Code Playgroud)
EDIT1: gedit /root/.bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace …Run Code Online (Sandbox Code Playgroud) 我有大约 1,000,000 张 png 图片要从我的垃圾箱中删除。我试过:
rm -rf /home/ahmed/.local/share/Trash/*
find . -name '*' | xargs rm -v
我得到以下
bash: /usr/bin/find: Argument list too long
Run Code Online (Sandbox Code Playgroud)