2011-11-01から1ヶ月間の記事一覧
ssh remote_host cat /path/to/file | diff - /path/to/file
tail -f で、ログを眺めているときに、キーワードを見落とさないように色を付けたい。実行例。 $ cat cotee | ./cotee #!/usr/bin/ruby # # cotee - color tee command. read from stdin and write to stdout with color and files # # filename = ARGV.shif…