2017-11-11 178 views

回答

0

嘗試cat

cat file1 file2 file3 > outputFile 

cat代表串聯。

>用於output redirection

如果outputFile中已經存在的東西,你要追加到它的其它文件的內容,使用

cat file1 file2 file3 >> outputFile 

>,如果它已經存在將刪掉的outputFile舊的內容。

看一看here以及。

+1

感謝你非常不知道這很容易 –

相關問題