Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'd like to know the command to unpack a file in the form pdf.pdf or ps.ps.When I run it through an archiver,it says it's either a gzip or a bunzip file.But how do I do it from the console?Please help.
pdf files are portable document files that are best opened with Adobe Acrobat Reader, though there are other apps in Linux. ps files are postscript files which you could open with GIMP or several other apps. GIMP will also open pdf files.
They shouldn't have the file extension listed twice, at any rate. Perhaps the person who prepared the file made a mistake?
Well,I tried just renaming the file,but it didn't help.I opened it using an archiving utility and it said that the file was in bzp2 format.It unpacked it alright.It certainly doesn't seem to be a mistake on the author's part,coz I come across many files with such extensions.And I ask the guys who prepare and they say it is a compressed file.So it is,coz after the decompress it shows an increase in file size.
And of course i know how to open pdf and ps files.I use pdf's every day at home and at the university.What really foxes me is as to how does the archiver guess what compress type the file has?please advise.
From a short identifier at the beginning of the file. You can see the file type with the file command, eg 'file my_file.pdf'. file gets its data from the magic file, in my system it's in /usr/share/file. Type 'man file' and 'man magic' for a more comprehensive explanation.
It's an encrypted file, and without the password
it obviously won't be able to tell WHAT you have
in it ... might be mp3, xls or pdf....
If I send you a something in a gift-wrapped box
looking at the box won't tell you anything about
the content (not in detail, of course) ... it may say
on the customs form that it's a present, and that
it's e.g. a Linux-CD. But to get what it REALLY is
you need to open the box.