在文字檔頭加入字串? - Linux

By Andrew
at 2008-11-23T14:01
at 2008-11-23T14:01
Table of Contents
※ 引述《chiucs (ChiuCS)》之銘言:
: for i in `ls`
: do
: echo mv $i ABC$i
: done
: ※ 引述《HDav (高畫質AV)》之銘言:
: : 請問要怎麼在一票文字檔開頭中加入特定字串
: : 比如說 01.txt 02.txt 03.txt 的檔頭要加入 ABC 這字串
: : 謝謝
謝謝 chiucs,我實際跑了一下,這是改檔名的。
不知道字串要加在內容的要怎麼做?
--
: for i in `ls`
: do
: echo mv $i ABC$i
: done
: ※ 引述《HDav (高畫質AV)》之銘言:
: : 請問要怎麼在一票文字檔開頭中加入特定字串
: : 比如說 01.txt 02.txt 03.txt 的檔頭要加入 ABC 這字串
: : 謝謝
謝謝 chiucs,我實際跑了一下,這是改檔名的。
不知道字串要加在內容的要怎麼做?
--
Tags:
Linux
All Comments
Related Posts
在文字檔頭加入字串?

By Callum
at 2008-11-23T11:05
at 2008-11-23T11:05
Ubuntu上面玩網路遊戲

By Connor
at 2008-11-23T10:30
at 2008-11-23T10:30
在文字檔頭加入字串?

By Annie
at 2008-11-23T02:25
at 2008-11-23T02:25
nvidia驅動程式

By Delia
at 2008-11-23T01:46
at 2008-11-23T01:46
Ubuntu教學─如何設定SSH遠端連線功能

By Blanche
at 2008-11-23T01:46
at 2008-11-23T01:46