PDA

View Full Version : linux alternative to dos command ren



dragos240
April 27th, 2009, 11:35 AM
What is the linux alternative to the ren (rename) command for linux, such as ls is to dir.

Johnsie
April 27th, 2009, 11:37 AM
mv I think.

dburnett77
April 27th, 2009, 11:38 AM
What is the linux alternative to the ren (rename) command for linux, such as ls is to dir.

There's two that are commonly used. Move an copy: 'mv' and 'cp'.

Do mv or cp --help, or look at the man pages.

dragos240
April 27th, 2009, 11:51 AM
Thanks :)

ssam
April 27th, 2009, 02:31 PM
there is also a rename command for mass renaming by a pattern. see the man page