How to move files in Linux/Unix

Unix/Linux move files.

 

Move file syntax:

$ mv [options] sourcefiles destdir

 

Move main.c def.h files to /home/usr/rapid/ directory

$ mv main.c def.h /home/usr/rapid/

 

Move all C files in current directory to subdirectory bak

$ mv *.c bak

 

mv command ►

 


See also

LINUX
CONTACT