Find the answer to your Linux question:
Results 1 to 3 of 3
I am sort of new to linux so maybe this question sounds stupid. I have noticed that on many developers websites, that they compress there sources in both gunzip and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2005
    Posts
    8

    Compression


    I am sort of new to linux so maybe this question sounds stupid.
    I have noticed that on many developers websites, that they compress there sources in both gunzip and bunzip. why is this ? I dont understand why you need 2 compression formats when they both contain the same source. It seems to me that most distro's come with both standerds. Just curious.

    p.s. also where can i find my startup log? i'm having problems swithing to kernel 2.6 ( kernel panic)

  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    They may give a choice of compression so we the user have a choice, also I think in the older versions of tar there is no j flag which lets you uncompress bz2, while there is a z flag to uncompress the .gz compression.

    Though you can unzip the bz2 with bunzip which you con pipe the output of the untaring through,
    Code:
    tar xvf foo.tar.bz2 | bunzip
    (iirc), it's not as neat as
    Code:
    tar xjvf foo.tar.bz2
    .
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  3. #3
    Linux User
    Join Date
    Oct 2004
    Location
    Serbia&Montenegro
    Posts
    281
    As for the startup log see /var/log/messages. For hardware detection log just type 'dmesg'.
    Linux registered user #358842
    Human knowledge belongs to the world.

  4. $spacer_open
    $spacer_close

Posting Permissions

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