How to move files in Linux/Unix

 

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/cal/ directory

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

 

Move all C files in current directory to subdirectory bak

$ mv *.c bak

 

mv command ►

 

See also

© 2017 CalculatorX. All rights reserved.