Moving Files
The mv command is used to move a file from one location in the filesystem to another. mv SOURCE DESTINATION The mv command requires at least two arguments. The first argument is the source, a path to the file to be moved. The second argument is the destination, a path to where the file will be moved to. The files to be copied are sometimes referred to as the source and the place to where the copies are placed in is called the destination. Follow Along Use the following command to switch to the Documents directory: sysadmin@localhost : ~ $ cd ~/Documents To move the people.csv file into the Work directory, use the filename as the source, and the directory name as the destination: sysadmin@localhost : ~/Documents $ mv people.csv Work If a file is moved from one directory to another and without specifying a new name for the file, it will retain its original name. The move above can be co...