Tag: linux
Compress files with Gzip and Zip in CentOS
Gzip Type the following command to compress a file at a shell prompt -> The file will be compressed and saved as filename.ext.gz Type the following command to expand a compressed file -> The filename.ext.gz is deleted and replaced with filename.ext Type the following command to compress multiple files at a shell prompt -> this…
Copy a directory with its contents in CentOS
This command will copy a directory with its content to another directory, for example you have a directory name x, you want to copy it to another directory name y or