Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions
 Discussion Forums
 HTML, XML, JavaScript...
 Software Reviews
 Editors,Others...
 Top100
 JavaScript Tutorials, ...
 Tutorials
 ASP, CSS, Databases...
 Discussion List
 FAQ, Roundup, Configure ...
 Authoring
 HTML, JavaScript, CSS...
 Design
 Layout, Navigation,...
 Graphics
 Tools, Colors, Images...
 Software
 Browsers, Editors, XML...
 Internet
 Domains, E-Commerce, ...
 WDVL Resources
  Intermdiate, Tutorials,...
 WDVL
 Discussion Lists, Top 100,...
 Technology Jobs


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us
Boat Donations
Online Universities
KVM Switch over IP
Promotional Pens
Best Price
Web Hosting Directory
Web Design
Disney World Tickets
Find Software
Calling Cards
Desktop Computers
Promotional Products
KVM over IP
Compare Prices

Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers



Quality Management ROI Calculator - Focus on Test Automation
The Rational Quality Management ROI calculator is intended to give you an idea of what return you can garner from implementing our functional testing solutions. Our quality management solutions offer tools to develop a continuous process, powered by automation to govern software delivery. »

Gartner MarketScope: Application Quality Management Solutions, 1Q 08
This Gartner MarketScope provides guidance for enterprises seeking to purchase tools to manage risk and software quality. We focus on tools fit for large-scale enterprise use and that are ready out of the box to manage quality requirements and functional testing. »

Whitepaper: Tips for Writing Good Use Cases
Writing a good use case isnt easy, but, fortunately, our experience can be your guide. The concepts and principles assembled here represent the works of many people at IBM, and they form a foundation of proven best practices. »

Whitepaper: The Role of Integrated Requirements Management in Software Delivery
Learn about the critical role integrated requirements management can play in helping ensure your business goals and IT projects are continuously aligned-whether you are sourcing, integrat-ing, building or maintaining your software. It also looks at ways that integration and automation can help ensure managing projects and the required changes can be executed using manageable processes that satisfy stakeholders and development teams. »
Top 10 Articles
  1. Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions
  2. JavaScript Tutorial for Programmers
  3. Design
  4. JavaScript Tutorial for Programmers - Objects
  5. JavaScript Tutorial for Programmers - JavaScript Grammar
  6. JavaScript Tutorial for Programmers - Versions of JavaScript
  7. Cascading Style Sheets
  8. JavaScript Tutorial for Programmers - Embedding JavaScript
  9. JavaScript Tutorial for Programmers - Functions
  10. Authoring JavaScript
Domain Name Lookup
Search to find the availability of a domain name. Just enter the complete domain name with extension (.com, .net, .edu)

Compression and Archiving

July 19, 1998

Before we conclude this tutorial, there is one final subject that you should know about. This is compression/ archiving. UNIX provides several good tools for compressing and archiving your files so that you can create backups of important files or so that you can easily transfer large directory structures from one site to another. Though there are several good utilities for these purposes, two utilities have become the standard for web developers; partly because of their functionality and partly because they work cross-platform. That is, what is compressed and archived on unix can be decompressed and de-archived on Windows or Mac using such applications as WinZip or MacTar.

We'll look at the tar utility first.

The tar utility is used to archive an entire directory structure into a single file. This single file will contain all of the information in all of the directories. A tar file is easily moved from one site to another because it is a single file. when the tar file gets to the new location, you can un archive the whole thing and the directory structure will be recreated in the new location. The tar command is executed as follows:

tar [key] [argument] [drive] [options] file_list

Tar has several options. The ones you probably will use are shown below.

Option Explanation
key Specifies the action to take. Keys will be one of the following:
c = creates a new archive or overwrites an existing one
r = appends the files in the file_list to the end of an existing archive.
t = lists the contents of the archive
u = updates the archive with the latest copies of files within the archive.
x = extracts the files from the archive.
argument For your uses you will rarely need the argument but it is here if you do.
drive You will never need this option as a web technician. This is mainly used for sysadmins making global backups
f An option that specifies the name to be used for the archive.
A Makes all absolute file names into relative filenames.
v Tells tar to report in verbose mode about its activities.
w Tells tar to query you for a "y" or "n" as it takes actions.

Let's look at an example:

[tar]

"Compress" and "uncompress", on the other hand, are common utilities used for compressing files. They are particularly useful when used in combination with tar because once you tar an archive, you can compress the tar file which makes it much more portable (perhaps via ftp).

Take a look at the following example in which we use compress to shrink a TAR file:

Manipulating your Environment
Introduction to UNIX for Web Developers | Table of Contents


Up to => Home / Internet / UNIX / Intro




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers