Find the answer to your Linux question:
Results 1 to 5 of 5
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    Posts
    2

    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
    Location
    St. Petersburg, FL
    Posts
    5,035
    i always use:
    Code:
    tar -xvfz tarfile.tar.gz
    i don't know, but for some reason, the extra v and f always work for me. try that
    -lakerdonald

  3. #3
    Just Joined!
    Join Date
    Sep 2004
    Posts
    2
    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
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Aug 2004
    Posts
    21
    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
    Location
    Pennsylvania
    Posts
    98
    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
  •