Tag Info

New answers tagged

2

Open the terminal and use the cd command to change directories to the directory where the mongodb-linux-x86_64-2.6.3.tgz file is located and the run the following command: tar xzf mongodb-linux-x86_64-2.6.3.tgz The above command will extract the contents of the mongodb-linux-x86_64-2.6.3.tgz archive while preserving the archive's hierarchical tree ...


0

Usually those types of files are just "extract and run", but if it's not a GUI program, you may have to use a terminal and see what the files are, maybe run them there. And it's almost always preferable to install programs from a default repository, or a PPA, if it's available there. apt-get or aptitude or synaptic are excellent ways to install programs ...


0

First you created a gzipped tar archive with: tar cvfz /media/2ndHDD/home.tar /home/<my_username> You ignored the errors and didn't scroll up to see what they were (pretty bad idea). Then you tried to unpack the tar file (even without the -z option, it should have recognised that it's a gzipped tar archive): tar xvf home.tar It didn't work and ...


0

From tar manpage: -P, --absolute-names don't strip leading '/'s from file names You should run: sudo tar cPf - ../Documents | tar xPf -


0

As mentioned by previous answers the man page will give you a detailed answer to your question. Additionally, you can access command information through the help argument in a slightly more concise format than the man page gives. By typing tar --help you can lookup the x, v, z, and f arguments.


0

If you are at a linux terminal you can type 'man tar' for the manual page for tar which lists all the command line switches for tar and what they do. You can also google man tar for the same page. (the man pages are great for learning about commands on linux) -xvzf means :- x extract - extract the files from the archive v verbose - list all files as they ...


1

From the tar man page - -x, --extract, --get extract files from an archive -v, --verbose verbosely list files processed -z, --gzip, --gunzip, --ungzip filter the archive through gzip -f, --file [HOSTNAME:]F use archive file or device F (default "-", meaning stdin/stdout) Type man tar in a Terminal to access the man page for ...


3

Just type man tar in the terminal for the tar command manual. You can also view it online at http://man.cx/tar or at http://linuxcommand.org/man_pages/tar1.html (Thanks to @Rinzwind) The meaning of -xvzf is -x --extract = extract files from an archive -v, --verbose = verbosely list files processed -z, --gzip = gzipped files eg. for tar.gz packages -f, ...



Top 50 recent answers are included