shell
パイプ $ echo foofoo | mail hoge@example.com # 出力をmailコマンドに渡す $ ps aux | grep bash # psの出力をgrepコマンドに渡す 1437 0.0 0.0 2461044 928 s000 S 10:20PM 0:00.13 -bash 4463 0.0 0.0 2443044 804 s000 S+ 11:17PM 0:00.00 grep bash 次…
パイプ $ echo foofoo | mail hoge@example.com # 出力をmailコマンドに渡す $ ps aux | grep bash # psの出力をgrepコマンドに渡す 1437 0.0 0.0 2461044 928 s000 S 10:20PM 0:00.13 -bash 4463 0.0 0.0 2443044 804 s000 S+ 11:17PM 0:00.00 grep bash 次…