SSH mv command

If you would like to move a file from one location to another on your Linux Dedicated Server or VPS system you can use the SSH mv command. It is a very handy command that most of the sysadmins use daily.

Move a file from one location to another using SSH mv command

mv /path/to/file /new/path/to/file

Move several files into a directory with SSH mv

mv -t directory fileToMove1 fileToMove2

Renaming a file with the mv command

Moving a file in the same directory with a different name will simply rename it

mv oldFileName newFileName
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Linux tar Command

The Linux tar command is used to compress and extract files to and from an archive. In this...

How to Install WordPress via SSH

Since WordPress is the most widely used CMS it’s installation process has been made as simple and...

SSH Execute Command on a Remote server

Via SSH you can connect to a remote server’s shell. This will allow you to execute commands on...

How to connect to your shared hosting account via SFTP with FileZilla

SFTP is a convenient way to use SSH, while also using the interface of a simple FTP. In order to...

SSH netstat command

If you wish to debug or track statistics of your network in a Linux environment you can use SSH...