cat :concatenate files and print on the standard output :鏈接文件並標準打印輸出,通常用於查看文件內容
cat選項:
-E ,--show-ends:display $ at end of each line :查看文件內容並每行以$結尾
-n ,--number :number all output lines :每行用數字標註
cat file1 file2 :將file1與file2串接打印
cat >filename << EOF
EOF
EOF:end of file ;此法可以創建文件,創建的文件必須是沒有的新文件