hoge1の内容を表示 $ cat hoge1 this is hoge1 hoge2の内容を表示 $ cat > hoge2 this is hoge2 hoge1とhoge2を結合してhoge3に出力 $ cat hoge1 hoge2 > hoge3 hoge3の内容を表示 $ cat -n hoge3 1 this is hoge1 2 this is hoge2