我厌倦了不小心删除了文件和目录,因为DEL我的键盘上的按钮位置不好。如果 ubuntu 在删除任何内容之前要求我确认,我真的很喜欢它。有没有办法做到这一点?
所以我在 svn 下有一个项目,我正在搜索文件内容。在结果集中,我得到了我实际上不想看到的 .svn 文件。例如:
$ grep -i -r "breadcrumb" . -l
./terms_and_conditions/.svn/text-base/index.tpl.svn-base
./terms_and_conditions/.svn/tmp/index.tpl.tmp
./terms_and_conditions/.svn/tmp/index.tpl.3.tmp
./terms_and_conditions/.svn/tmp/index.tpl.2.tmp
./terms_and_conditions/index.tpl
./privacy/.svn/text-base/index.tpl.svn-base
./privacy/.svn/tmp/index.tpl.tmp
./privacy/.svn/tmp/index.tpl.3.tmp
./privacy/.svn/tmp/index.tpl.2.tmp
./privacy/index.tpl
Run Code Online (Sandbox Code Playgroud)
如何从结果集中排除“.svn”目录下的文件,以便我只得到
./terms_and_conditions/index.tpl
./privacy/index.tpl
Run Code Online (Sandbox Code Playgroud) 有没有办法通过 ssh 控制远程系统的音量?我们有一个媒体中心服务器,我们想远程控制音量。