There is no rename function in Ubuntu Linux.

Instead, you simply move the file, giving it a new name. If you don’t actually mv it to another directory, then you have effectively renamed it:


mv file_name_original file_name_new

If you are trying to rename a directory, you need to use the -r recursive flag:


mv -r original_dir_name  new_dir_name

LEAVE A REPLY

Please enter your comment!
Please enter your name here