Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    tar hangs when trying to open a file in shell window

    I'm tring to open a file called unz551x-glibc.tar.gz. So I open up my shell and type:

    tar -xz unz551x-glibc.tar.gz

    and I press enter and it does a carriage return and then hangs. No HD activity or anything. I just press ctrl+c to exit. How can I get tar to open this file?

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    St. Petersburg, FL
    i always use:
    tar -xvfz tarfile.tar.gz
    i don't know, but for some reason, the extra v and f always work for me. try that

  3. #3
    Ok so what I did now was us gzip -d to decompress the file and now I'm left with myTarFile.tar

    Then I typed in
    tar -x myTarFile.tar
    and press enter, adn it still hangs.

  4. $spacer_open
  5. #4
    I too always use the -xvzf flag. Does it still hang when you try that? (In your case, do -xvf since you already gunzipped it).

  6. #5
    Just Joined!
    Join Date
    May 2004
    As far as i know, you MUST use the -f flag.

    As others said, most people use -xvf

    the v just lists all the files as it is extracting them

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts