小编pau*_*kov的帖子

使用 wc 和 ps 计算正在运行的进程

我尝试使用,ps r > log | wc log但这会返回Ambiguous output redirect.. 有人可以解释原因并提供另一种解决方案吗?

shell pipe io-redirection

3
推荐指数
1
解决办法
2万
查看次数

grep 指定长度的所有单词,不带字母 x

所以我被困在这里:

grep -E '^....c...c...$'显示所有带有我需要的 expr 的单词。现在从这个词我只需要那些没有x.

grep regular-expression

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

标签 统计

grep ×1

io-redirection ×1

pipe ×1

regular-expression ×1

shell ×1