Linux在檔案最前面增加文字 - LinuxAudriana · 2009-03-25Table of ContentsPostCommentsRelated Posts有什麼指令可以增加文字於檔案最開頭嗎? 我只知道附加在最後可以用echo abc >>file.txt 但如果想增加在開頭有什麼方法嗎? -- LinuxAll CommentsLauren2009-03-29最簡單的方法 把你的想法顛倒過來不就好@@Vanessa2009-04-01yeah. echo abc > tmp;cat file>>tmp; mv tmp fileTom2009-04-05Thanks.我真是死腦筋,哈Related PostsLILO在Ghost後無法正常開機openoffce 3 在 Centos 上sed 字串 含空白Fedora repos missing dependencyredhat9的更新
All Comments