2017-06-03 【Shell】特定のワードを含む過去のコマンド履歴を検索 Shell historyのオプションはどの程度までコマンドを遡るかを意味する $ history -500 | grep "検索したいワード"