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 Benutzer fanden dies hilfreich
War diese Antwort hilfreich?

Verwandte Artikel

SSH ip command

If you wish to obtain information about your server’s IP on a Linux machine using SSH you can use...

SSH rm command

If you wish to remove a file or folder from your Linux system you can use SSH rm command. In this...

SSH echo command

One of the most useful commands in a Linux environment is echo. With it, you can provide output...

SSH history command

If you wish to find what commands you have previously executed in a Linux environment you can use...

SSH cd command

SSH cd command is mainly used to navigate in your Linux environment. In this article, we’ll show...

Powered by WHMCompleteSolution