很多天前,我发现了这个有用的 bash 别名(我的~/.bash_aliases 的内容)
# aliases
# finds temporary files ending with '~' and deletes them
alias rm~='find . -name '*~' -print0 | xargs -0 /bin/rm -f'
Run Code Online (Sandbox Code Playgroud)
现在我尝试使用rm~aftercd到包含 3 个以~
我在终端中收到此错误,文件没有被删除
find: paths must precede expression: 1n.in~
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
Run Code Online (Sandbox Code Playgroud)
此外,当我尝试rm~from 时/home/me,它似乎什么也没做。或者它可能需要很多时间。
请告诉我为什么我会出错,以及如何解决它。
谢谢!
我安装了 Heroku 使用
wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh
Run Code Online (Sandbox Code Playgroud)
请告诉我如何卸载 Heroku。