2017-06-12 splitコマンドで、行単位ファイル分割 bash # 100行ごと # 3桁数字を末尾に付加 $ split -l 100 -d -a 3 a.dat a.dat $ ls a.dat a.dat000 a.dat001 a.dat002