×

This article covers different methods to Rename Files and Directories Using Linux Terminal. We can rename files and directories with rename and mv commands in the Linux Terminal. The mv command can only rename one file at a time, but the rename command can rename multiple files simultaneously.


How to Rename Files and Directories Using the mv Command ?

The mv command can rename files and directories. It is also used to move files and directories from one location to another.

Syntax of mv Command:

$ mv [OPTIONS] source destination

The source can be one or more files or directories, and the destination is always a single file or directory.




More Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on IbmiMedia.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com