I log in to Linux by ssh command and I want to change name of directory. So please suggest me proper method to rename the file. Any help would be appreciated.
I log in to Linux by ssh command and I want to change name of directory. So please suggest me proper method to rename the file. Any help would be appreciated.
In Linux renaming file by movie command of Linux. Use command given below to rename file:
$ mv <Old_destination> <new_directory with new name>;
There are two arguments in mv command source and destination. To move file to another destination, give same parameter for source and destination and related new name for file.
If you logged in with ssh command. The mv command didn't change its functionality. It is used to change name of installed directory.
Any command related to file operation should be used freely such as move, rename, copy and delete file as said by permission by owner of file or root user. Just related new name of file in second parameter as destination.
Bookmarks