Linuxshell寫法 - LinuxCharlotte · 2011-12-30Table of ContentsPostCommentsRelated Posts 請問一下 我有一個檔案 需要每四行 就切開輸出各個文件 指令是這樣下的 split -l 行數 file output 但產生的文件 會從outputaa.....outputzz 我需要檔名 就是四行中的第一行 當作檔名 請問 要怎樣修改指令 謝謝 -- -- LinuxAll CommentsTodd Johnson2011-12-31for f in *; do read line <$f; mv $f $line; doneRelated Postsubuntu 灌PCMANX時如何刪掉層層資料夾,但保留裡面某檔案?Mint12 不順、常破圖phpMyAdmin偵測背景執行結束
All Comments