Create TAR and pipe through gzip
A simple example of creating a gzip-compressed tar archive of the current directory.
tar cvf - . | gzip > target.tar.gz
Unix and Linux network configuration. Multiple network interfaces. Bridged NICs. High-availability network configurations.
Reviews of latest Unix and Linux software. Helpful tips for application support admins. Automating application support.
Disk partitioning, filesystems, directories, and files. Volume management, logical volumes, HA filesystems. Backups and disaster recovery.
Distributed server monitoring. Server performance and capacity planning. Monitoring applications, network status and user activity.
Cool Unix shell commands and options. Command-line tools and application. Things every Unix sysadmin needs to know.
Books have been written on the subject of awk and sed. Here’s a small sample of commands I put together over the years that are useful for everyday system administration tasks. Most of these tasks …
I’ve been using various Synology NAS devices for many years now, and they’re great. Well, almost. There are a few rough spots that don’t thrill me. These consumer-grade devices are designed to be difficult to …
I’ve been using various Synology NAS devices for many years now, and they’re great. Well, almost. There are a few rough spots that don’t thrill me. These consumer-grade devices are designed to be difficult to …
This particular WordPress issue appeared with version 5.3 and is refusing to go away. However, the problem here is not with WordPress but with the Apache ModSecurity. The particular ModSecurity rule in question is 200003 …
I’ve been using various Synology NAS devices for many years now, and they’re great. Well, almost. There are a few rough spots that don’t thrill me. These consumer-grade devices are designed to be difficult to …
Being a shutterbug and a digital hoarder can get expensive. A couple of days ago, my
TerraMaster D5-300 5-bay DAS crashed. Again. This time it was the power supply. I replaced it only to discover that …
The nfsiostat is an excellent tool for analyzing NFS performance. The only major problem with this utility is that it’s designed to be used interactively. It does not have logging or timestamping capabilities. I needed …
Cron is an indispensable tool for system administration. The difficulties in working with cron in a large environment stem from its decentralized nature. Cron jobs multiply like rabbits, and keeping track of them is not …
The nfsiostat is an excellent tool for analyzing NFS performance. The only major problem with this utility is that it’s designed to be used interactively. It does not have logging or timestamping capabilities. I needed …
As time goes by, NFS mounts multiply like rabbits. Added by many different people over the years, these entries present a dizzying variety of mount options – most are a copy-paste job that makes little …
Igor
Sr. Unix SysAdmin with twenty years experience supporting Solaris, HP-UX, AIX, IRIX, and Linux servers in a large distributed environment.

To uncompress and tar use:
gunzip < target.tar.gz | tar xvf -
Hi,
Do you have an example of using gzip with a pipe?
From Googling, only one I found is from the one below:
http://ididntknowthisyesterday.blogspot.co.nz/2008/09/pipe-into-gzip.html
using
cat myfile.txt | gzip -f > myfile.txt.gz
Will this work for binary files as well?
FYI, reason am wanting to use a pipe is due to lack of disk space, I have 500MB left and am trying to gzip a 400M file. Am assuming by using a pipe, it will use the memory instead of the available disk space while the gzip is in progress, is this correct?
I have created a WAR file by the following command:
jar -cvf myServlets.war DemoServlet.class CallServlet.html
The WAR file was successfuly created & I had deployed it on the Server.
But when I try to access the servlet through the html page, the server returns an error stating “Resource Not Available”
P.S. I had set the context-root & the application name properly.
How can I rectify this problem?
can someone tell me how many exams do we need to pass to become a ccvp. thanks
How safe is CVF?
i can enter
> java -version
but i cannot enter
>jar cvf jarfile file1.class file2.class datafile.dat
I am not sure why.
c:>java -version
java version “1.6.0_16”
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)
‘jar’ is not recognized as internal or external command.
I already downloaded the latest jdk and set the path for it.
http://www.bbc.co.uk/news/uk-11173266
HMS Astute the newest addition to our fleet
I ment naval warfare lol, sorry.