HomeCodeLinuxHow to move files in Linux/Unix
Linux commands

How to move files in Linux/Unix

Unix/Linux move files.

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 →