How to copy files from one directory to another
Assuming you are in the directory where you want to copy the files, use this Linux command:
cp -R * destination path
Assuming you are in the directory where you want to copy the files, use this Linux command:
cp -R * destination path
mv directoryname-current directoryname-new
The following command removes an empty directory only
$ rmdir directoryname
In order to remove a directory, all sub directories below it including all files
$rm -r directoryname
Care should be taken when using this command. Linux will permanently delete all files and directories with no option to recover anything if you make a mistake. Make sure you understand [...]
tar xvzf file.tar.gz