結果 : head and tail command in shell script