Untarring Files In The Disk0: File System - Cisco 4700M Administration Manual

Application control engine appliance
Hide thumbs Also See for 4700M:
Table of Contents

Advertisement

Using the File System on the ACE
Detailed Steps
Command
Step 1
dir disk0:[ directory/ ][ path/ ][ filename ]
Example:
host1/Admin# dir disk0:
Step 2
gunzip disk0: filename
Example:
host1/Admin# gunzip disk0:PROBE_SCRIPTS.gz

Untarring Files in the disk0: File System

This section describes how to untar a single file with a .tar extension in the disk0: file system. Use this
process to untar the sample scripts file or to unzip a back-up licenses created with the copy licenses
disk0: command if a license becomes corrupted or lost.
A .tar file keeps related files together and facilitates the transfer of multiple files. A .tar file is a series
of separate files, typically not compressed, added together into a single file by a UNIX TAR program.
The resulting file is known as a tarball, which is similar to a ZIP file but without the compression. The
files in a .tar file must be extracted before they can be used.
Restrictions
To untar a file, the filename must end with a .tar extension.
Detailed Steps
Command
untar disk0:[ path/ ] filename
Example:
host1/Admin# untar disk0:mylicenses.tar
Cisco 4700 Series Application Control Engine Appliance Administration Guide
4-14
Purpose
(Optional) Displays a list of available zipped files on the disk0:
file system.
The arguments are as follows:
directory/—(Optional) Contents of the specified directory.
path/—(Optional) Path to display the contents of a specific
directory on the disk0: file system.
filename—(Optional) Information that relates to the
specified file, such as the file size and the date it was created.
You can use wildcards in the filename. A wildcard character
(*) matches all patterns. Strings after a wildcard are ignored.
Uncompresses (unzips) LZ77 coded files in the disk0: file
system.
The filename argument identifies the name of t h e compressed file
on the disk0: file system. The filename must end with a .gz
extension.
Purpose
Untars a single file with a .tar extension in the disk0: file system.
The filename argument identifies the name of the .tar file in the disk0: file
system. You can optionally provide a path to the .tar file if it exists in
another directory in the disk0: file system.
Chapter 4
Managing the ACE Software
OL-20823-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

4700 series

Table of Contents