2013年7月22日月曜日

sedを複数ファイルに

find . -name "*.txt" -exec sed -i -e 's/置換対象の文字列/置換後の文字列/' {} \;

でカレント下の.txtファイルを置換できる。

2013年7月21日日曜日

Permission denied (publickey,gssapi-with-mic).

$ chmod 700 ~/.ssh
$ chmod 600 ~/.ssh/*

したら直った。