ksaitoの日記

日々試したことの覚え書き

2012-05-23から1日間の記事一覧

設定ファイルを探す

設定ファイルが、どこにあるか見当をつけるためにstringsコマンドが使えます。 bashの設定ファイルは、次のようにして当たりをつけます。 $ strings `type -p bash` | grep \^/etc /etc/bash.bashrc /etc/profile /etc/hosts /etc/bash.bash_logout /etc/inp…