grep スヌーピー test25.text > sn.txt grepの後書き込む . > sn.txt grep スヌーピー test25.text スヌーピーをtest25.text の中から探し、その一行を表示