There are times when we need to unzip a file to a different directory or mount point. The easiest way to accomplish in Linux is done by using output redirecting. Output redirecting is done by appending the greater than character followed by the "destination path". e.g. by adding "
> /myNewPath/MyFile.txt
Unzipping file to another/different directory in Linux.
gunzip -c lsd_20110603.dmp.gz > /u01/lsd_20110603.dmp
No comments:
Post a Comment