LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-17-2009, 11:43 PM   #1
sky rulz
Member
 
Registered: Jun 2008
Posts: 40

Rep: Reputation: 15
Question compress command does not work


hi all,

From the man pages of Fedora 10 Linux, i found that "compress" command uses the LZ algorithm and compresses the input file to a great extent. I tried it with a sample file.

I am using bash shell.I got an error message from bash which is as follows:

bash: compress: command not found

Can some one help me out in using the compress command.

Thank you
 
Old 08-17-2009, 11:54 PM   #2
sky rulz
Member
 
Registered: Jun 2008
Posts: 40

Original Poster
Rep: Reputation: 15
hai all,

I figured it out my self. Compress package was not installed on my system.
I tried to locate compress on my system using "locate" command. But it was not present.I installed the rpm for ncompress and it did it all for me.

Thank you very much

Last edited by sky rulz; 08-17-2009 at 11:58 PM.
 
Old 08-18-2009, 12:03 AM   #3
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Nice work -- you can now mark this thread as [solved] using the thread-tools drop-down menu

Sasha
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the Suse 10 command to compress files? rust8y SUSE / openSUSE 5 05-09-2006 06:45 AM
lp command with compress mode zita Linux - General 2 10-06-2005 12:36 PM
Compress Gins Linux - General 5 11-19-2004 01:05 PM
compress fs alaios Linux - General 5 09-07-2004 08:29 PM
compress Ownasaurus Linux - Software 4 09-12-2003 07:17 PM


All times are GMT -5. The time now is 06:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration