小编spi*_*ace的帖子

bash 中的空花括号和分号

有什么作用

{} \;
Run Code Online (Sandbox Code Playgroud)

字符串在bash中的意思?

例如,我已经看过几次,按名称查找和删除所有文件必须执行

find . -name "FILE-TO-FIND" -exec rm -rf {} \;
Run Code Online (Sandbox Code Playgroud)

这个字符串有什么作用?

command-line bash find

5
推荐指数
1
解决办法
4806
查看次数

禁止包含特定字符串的命令输出行

当我在Linux终端中运行任意命令时,有没有办法抑制包含特定句子的输出消息?

我试过

./mycommand | grep -v "I dont want to see this"
Run Code Online (Sandbox Code Playgroud)

但消息仍然存在。

command-line text-processing

1
推荐指数
1
解决办法
3598
查看次数

标签 统计

command-line ×2

bash ×1

find ×1

text-processing ×1