head -n 20 filel > AB.txttail -n 15 file2 >> AB.txt两个命令,挨个执行,要先执行上面的在执行下面的。不然会看不到的哦。。
head -n 20 filel > AB.txthead -n -15 file2 >> AB.txt