This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
перенаправление_потоков_ввода_вывода [2019/06/26 14:00] val [Файловый дескриптор номер 2 - STDERR] |
перенаправление_потоков_ввода_вывода [2026/04/03 06:58] (current) val [Оператор |] |
||
|---|---|---|---|
| Line 39: | Line 39: | ||
| $ grep init < ps.txt | $ grep init < ps.txt | ||
| или | или | ||
| - | $ ps ax | grep init | + | $ ps ax | grep [i]nit |
| $ du -s /usr/share/* | sort -n | tail -n 1 | $ du -s /usr/share/* | sort -n | tail -n 1 | ||
| - | FreeBSD | + | # journalctl -f | grep -i failed |
| - | $ tail -f /var/log/messages | grep auth | + | |
| - | Linux | + | |
| - | $ tail -f /var/log/auth.log | grep FAILED | + | |
| - | $ ls -l /bin | sort -n -k5 | tail -n5 | cut -c48-60 | + | $ ls -l /usr/bin | sort -n -k5 | tail -n5 | cut -c48-60 |
| </code> | </code> | ||