1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

For all the Linux geeks.....

Discussion in 'Entertainment and Technology' started by RainbowMan, Feb 1, 2013.

  1. RainbowMan

    Full Member

    Joined:
    Dec 14, 2012
    Messages:
    618
    Likes Received:
    0
    Location:
    NYC
  2. starfish

    Full Member

    Joined:
    Nov 11, 2008
    Messages:
    3,368
    Likes Received:
    0
    Location:
    Hippie Town, Alberta of the US
    HAHA that is so true.
     
  3. Pret Allez

    Full Member

    Joined:
    Apr 19, 2012
    Messages:
    6,785
    Likes Received:
    67
    Location:
    Seattle, WA
    Gender:
    Female (trans*)
    Gender Pronoun:
    She
    Sexual Orientation:
    Bisexual
    Out Status:
    Some people
  4. RainbowMan

    Full Member

    Joined:
    Dec 14, 2012
    Messages:
    618
    Likes Received:
    0
    Location:
    NYC
    Nice try, but I don't think that counts as your first try :grin:
     
  5. NightShadow

    Regular Member

    Joined:
    Feb 28, 2013
    Messages:
    1
    Likes Received:
    0
    Location:
    Portland, OR
    Gender:
    Male
    Sexual Orientation:
    Gay
    Out Status:
    Out to everyone
    tar -xvf somefile.tar.gz
    gunzip somefile.tgz

    :stuck_out_tongue_closed_eyes: I guess it was never an issue for me.. that or I tar/untar too much XD
     
  6. Dalmatian

    Full Member

    Joined:
    Jul 31, 2011
    Messages:
    689
    Likes Received:
    0
    Location:
    London, UK
    lol :grin:

    Well, I agree, I usually precede tar command with a man one :slight_smile: Which is crazy, considering how much I do it, but still.. kinda like argument order in PHP's strpos or escape characters in regex and similar. I *know* them, but I always have doubts.. :slight_smile:

    Why wouldn't you just unzip it along in the tar?
     
  7. Pret Allez

    Full Member

    Joined:
    Apr 19, 2012
    Messages:
    6,785
    Likes Received:
    67
    Location:
    Seattle, WA
    Gender:
    Female (trans*)
    Gender Pronoun:
    She
    Sexual Orientation:
    Bisexual
    Out Status:
    Some people
    If I didn't tar, then it doesn't count as an attempt. :kiss:

    And while I can appreciate the joke, "tar --help" is a valid tar command, however trivial it may be. Bomb defused.
     
  8. Just Jess

    Full Member

    Joined:
    Jan 19, 2013
    Messages:
    1,237
    Likes Received:
    0
    Location:
    Denver
    Just gonna suck all the fun and humor out of it all literal minded and geeky real fast.

    z for gzip or j for bzip2. x for extract or c for compress. v for verbose. f for file followed by a space and the name of the tar file, use - as the file name for standard input/output. Then the paths of anything you wanna compress :slight_smile:

    My fave is tar jcvf somedirectory{.tar.bz2,} since the brackets expand out to the tarball name and then the directory I wanna tar up.

    Lord (or the man page) help you if you want lzma compression though. Usually it's -- and then the name of the format like --xz. If you're a weirdo you could pipe to gzip or something manually I guess. But that would be really awk-ward (sorry I shouldn't have sed that).

    Also: -C works for wget and tar, and lets you change directories before tarring/untarring

    Speaking of lame puns, does anyone ever do anything like

    <nano/vi/vim/emacs/whatever> scratch
    touch fever
    cat scratch fever

    or other punny unix commands? My favorite is

    ./configure --help | less

    because if I'm installing something I usually am helpless.
     
  9. confuzzled82

    Full Member

    Joined:
    Apr 15, 2012
    Messages:
    3
    Likes Received:
    1
    Location:
    Call district W8
    Gender:
    Female
    Gender Pronoun:
    She
    Sexual Orientation:
    Bisexual
    Out Status:
    Out to everyone
    That only works in the GNU version.

    I'll stick with "tar -xf {filename.tar}". That'll work on GNU, BSD, or SysV.
     
  10. starfish

    Full Member

    Joined:
    Nov 11, 2008
    Messages:
    3,368
    Likes Received:
    0
    Location:
    Hippie Town, Alberta of the US
    So I was tacking down a performance problem today at work and couldn't remember all of the switches for top.

    So naturtally I typed:

    man top

    I got a good giggle out of that one.
     
  11. Dalmatian

    Full Member

    Joined:
    Jul 31, 2011
    Messages:
    689
    Likes Received:
    0
    Location:
    London, UK
    Christ.. ok, so it's not my native language, but still.. for a (long) moment I considered switching to terminal to check out what's funny :eusa_doh: Such an innocent soul :grin:
     
  12. Naren

    Full Member

    Joined:
    Mar 2, 2012
    Messages:
    559
    Likes Received:
    0
    Location:
    Wanna see me? Buy a telescope.
    This is my new homepage