Results 1 to 9 of 9

Thread: what diference tar xvf and tar -xvf

  1. #1
    Join Date
    Sep 2006
    Beans
    90

    what diference tar xvf and tar -xvf

    what diference betweeen this two commands tar xvf and tar -xvf
    they will have same output?

  2. #2
    Join Date
    Sep 2006
    Beans
    2,914

    Re: what diference tar xvf and tar -xvf

    this can be easily answered if you had tried them out yourself. Get a tar file and execute tar using those 2 methods and see for yourself.

  3. #3
    Join Date
    Oct 2007
    Beans
    79

    Re: what diference tar xvf and tar -xvf

    He's right, go ahead and try it.

    Your answer can be found in the man page as well.

  4. #4
    Join Date
    Sep 2006
    Beans
    90

    tar xvf and tar -xvf , what difference?

    tar xvf and tar -xvf i try both of this but i can't get what was the difference???

  5. #5
    Join Date
    Apr 2007
    Location
    /dev/random
    Beans
    3,052

    Re: tar xvf and tar -xvf , what difference?

    The latter is the correct syntax, I imagine the former is just a compatability/"being nice" alternative. Like if you enter a web address in Internet Explorer (yuck) without the www. syntax and the address cannot be found, it automatically adds the www. part and tries again.
    ...

  6. #6
    Join Date
    Oct 2007
    Beans
    79

    Re: tar xvf and tar -xvf , what difference?

    Did you check the manpage like I suggested in the other thread you started?

    Code:
    NAME
           tar - The GNU version of the tar archiving utility
    
    SYNOPSIS
           tar  [ - ] A --catenate --concatenate | c --create | d --diff --compare
           | --delete | r --append | t --list | u --update | x --extract  --get  [
           options ] pathname [ pathname ... ]

    The dash is in brackets, which means that it is optional. The manpage also shows no specific function for the dash.

    Also, a simple Google search would have given you your answer (check the 2nd result).

    Forum searches, Google searches, and checking the man page are valuable resources. You would do well to make use of these tools, because not everyone will be patient with you if you ignore them.

  7. #7
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: what diference tar xvf and tar -xvf

    Threads merged and some useless posts removed.
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |
    [SIGPIC][/SIGPIC]

  8. #8
    Join Date
    Sep 2007
    Location
    Belo Horizonte/Brazil
    Beans
    573
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: what diference tar xvf and tar -xvf

    Quote Originally Posted by bapoumba View Post
    Threads merged and some useless posts removed.
    Always a pleasure to see the cleanup team at work

  9. #9
    Join Date
    Jan 2008
    Location
    /dev/null
    Beans
    2,793
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: what diference tar xvf and tar -xvf

    Thread closed since the question is answered.

    from the coc:
    RTFM, "Go look on google" are two inappropriate responses to a question. If you don't know the answer or don't wish to help, please say nothing instead of brushing off someone's question. Politely showing someone how you searched or obtained the answer to a question is acceptable, even encouraged.

    Although mastering google-fu is an essential part of proficiency, it is poor form to respond with "google it" or "read the man page". Although this may be an appropriate response from the perspective of the responder- it gives the impression that these forums are uncaring and uncompromising toward new users.
    Last edited by Oldsoldier2003; August 30th, 2008 at 06:18 PM. Reason: removed controversial experimental line :)

Bookmarks

Posting Permissions

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