You can use mv (move) or rename. eg:
$ mv file1 file2
(change the file "file1" to "file2")

$rename 1 2 file1
(Changes the "1" in "file1" to "2", i.e, rename it )

See the manpages of both commands for more info.

Wooky

Dodd, David J wrote:

> I was wondering the proper way to change a file name in linux on the
> command line.
> 
> thanks
> 
> dave
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
> 


-- 
--
shinjiteiru shinjirareru,
korekara aruku kono michi wo!
kimi ga iru yo, boku ga iru yo
sore ijou nani mo iranai.
umareta imi ,sagasu yori mo
ima ikiteru koto kanjite,
kotae yori mo, daiji na mono
hitotsu hitotsu mitsuketeiku...


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to