The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to restriction directory size in solaris nibiru78 SUN Solaris 3 02-07-2008 03:39 PM
Usage of /var/tmp/ directory on Solaris 10 patilmuragesh SUN Solaris 1 12-12-2007 08:31 AM
help linking directory from a hp to a solaris raulb SUN Solaris 3 08-25-2005 01:45 PM
Solaris-ksh: directory not found dangral UNIX for Dummies Questions & Answers 5 02-19-2004 11:12 AM
How to compress a directory on a Sun Solaris 5.7 ? sameerdes UNIX for Dummies Questions & Answers 4 08-22-2003 09:44 PM

Reply
 
LinkBack Thread Tools Display Modes
  #8 (permalink)  
Old 05-19-2008
Registered User
 

Join Date: Nov 2006
Posts: 252
actually I just want to add. For safety reasons whenever you tar anything always try to have the practice to specify relative instead of absolute path.

example:
absolute path will be tar cf /tmp/abc.tar /etc
relative path will be tar cf /tmp/xyz.tar ./etc <-- "."

The danger of using absolute path is when you un-tar the file it will overwrite existing folder.


example:
cd /tmp
tar xf abc.tar will extract and overwrite existing /etc
tar xf xyz.tar will extract into /tmp only
Reply With Quote
Google UNIX.COM
Forum Sponsor
Reply

Tags
linux, solaris

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:38 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