This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
команды_фильтры [2018/10/18 12:55] val [sort] |
команды_фильтры [2019/08/28 08:05] val [tr] |
||
---|---|---|---|
Line 23: | Line 23: | ||
$ df -h / | tr -s ' ' | $ df -h / | tr -s ' ' | ||
- | # echo "{\"hw_id\":\"2\",\"hw_name\":\"router\"}" | tr -d '{}\\' | + | $ getent group group1 | cut -f4 -d: | tr "," "\n" |
+ | |||
+ | $ echo "{\"hw_id\":\"2\",\"hw_name\":\"router\"}" | tr -d '{}\\' | ||
</code> | </code> | ||