The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Deleteing archived files ramu_indian Linux 4 05-05-2008 06:02 AM
how to open a text file by double clicking on the file name in gtk+ cy163 UNIX for Dummies Questions & Answers 0 06-11-2007 04:32 PM
tar :: rename the file after archived thambi Shell Programming and Scripting 1 05-31-2007 12:56 AM
open .php file munna_dude High Level Programming 1 02-20-2007 12:08 PM
file activity (open/closed) file descriptor info using KORN shell scripting Gary Dunn UNIX for Dummies Questions & Answers 3 06-07-2004 10:54 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-09-2008
Registered User
 

Join Date: Jan 2008
Posts: 8
How to open a file that is archived

Hello,
1)Can anybody please tell me that how can i open a file that is archived.
Like say i have a file say 1.txt archived inside 1.tar.
2)So how can i open this file to perform operations on this file (1.txt) using "open" system call and perform other system calls like "read" and "write" ,but without extracting that file(1.txt).

Regards,
TANVIR
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-11-2008
Registered User
 

Join Date: Mar 2008
Location: /bin/sh
Posts: 272
Explore the options zcat, zmore, zgrep.

Hope this helps!

Thanks!
nua7
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:28 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0