07-28-2008
hi ali560045
you'll find further infos in:
$> man gzcat
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
There are serveral files available in a folder.
1. Is there any way I get the list of zip files which contain abc.txt
2. Is ther any way, I get the list of zip file which contain a file which inturn content like "First line of file"
There are lot of huge zip files.
Kind Reards
Deepak (1 Reply)
Discussion started by: deepakwins
1 Replies
2. UNIX for Dummies Questions & Answers
hi,
i wat to get the output of a grep command in a file. but when i am trying out the same grep command in the unix prompt its working fine.. i am getting the output properly.. but when i am writing the same command inside my shell script , its just creating a new output file with no contents... (1 Reply)
Discussion started by: kripssmart
1 Replies
3. Shell Programming and Scripting
Hi have one Perl file inside that i am defining
at an array file.
@temp_vmdk_files = `grep vmdk '$guest_vmx'`
where my $guest_vmx=/vmfs/volumes/47e40fec-9c8bb7f7-d076-001422159f8a/BES Exchange/BES-Exchange.vmx
and i am just want to do grep of "vmdk" files from the above path
but when... (5 Replies)
Discussion started by: bp_vardhaman
5 Replies
4. UNIX for Advanced & Expert Users
Hi all,
I would like to ask whether in Unix shell/perl have any functions or command to allow grep/cat/read a file inside compressed .tgz without extract it?
I know we can tar tvf a compressed tgz but this only allow we read the path/filename contained inside the tarball. If we want to read... (3 Replies)
Discussion started by: mayshy
3 Replies
5. Shell Programming and Scripting
Hi All
I have searched the possibility of this options everywhere but am unable to find it in any forum.
I have a tar file inside which there are n number of files and i dont know them. I need to grep a word inside the tar file and need to know in which file the word resides.
> cat a... (2 Replies)
Discussion started by: Whiteboard
2 Replies
6. UNIX for Advanced & Expert Users
I've a zip file called Z00.zip and in that file there are 22 more zip files. Each zip file having .txt files nearly 10,000 files. I am trying to unzip all these .txt files in one command line to unzip each .zip file from Z00.zip file. Would like to know whether possible to unzip all sub-zip files... (1 Reply)
Discussion started by: nvkuriseti
1 Replies
7. Shell Programming and Scripting
Hello to all,
I have a zip file with any name like FileName.zip, within the zip file there are more than 30 files with different extensions in the following format.
FileName_BMN_ROSJ.txt
FileName_THEUS.jpg
.
.
.
FileName_KWPWP.shx
I would like to unzip the file and rename each file... (2 Replies)
Discussion started by: Ophiuchus
2 Replies
8. Shell Programming and Scripting
Hi All,
I'm stuck with this issue when I try to display the searched string into a compressed file.
More exactly when I run this script
for f1 in $(find dir1 -type f -print); do gunzip -c $f1 | grep -n "gio" | awk -F":" '{print $1-1 "," $1 "p"}' | xargs -i sed -n {} $f1 ; done
returns... (3 Replies)
Discussion started by: gio1234
3 Replies
9. Shell Programming and Scripting
Hi all,
I`m trying to find 3 files from all zip files in a directory (and its all its subdirectories) recursively, and concatenate them correspondingly along with the filename (possibly path of that file from current directory).
Suppose I have 3 zips
a123.zip
a234.zip
a456.zip
... (2 Replies)
Discussion started by: senhia83
2 Replies
10. UNIX for Advanced & Expert Users
Hi Gurus,
I got a small requirement in my script to grep a specific pattern in a zip compressed file which has been created with multiple files.
Sample File: 20180913.zip
$> zipinfo -l 20180913.zip
20180913_file1
20180913_file2
20180913_file3
20180912_file4
20180912_file5... (1 Reply)
Discussion started by: hi.villinda
1 Replies
LEARN ABOUT DEBIAN
pvmfdelhost
DELHOSTS(3PVM) PVM Version 3.4 DELHOSTS(3PVM)
NAME
pvm_delhosts - Deletes hosts from the virtual machine.
SYNOPSIS
C int info = pvm_delhosts( char **hosts, int nhost, int *infos )
Fortran call pvmfdelhost( host, info )
PARAMETERS
hosts An array of pointers to character strings containing the names of the machines to be deleted.
nhost Integer specifying the number of hosts to be deleted.
infos Integer array of length nhost which contains the status code returned by the routine for the individual hosts. Values less than
zero indicate an error.
host Character string containing the name of the machine to be deleted.
info Integer status code returned by the routine. Values less than nhost indicate partial failure, values less than 1 indicate total
failure.
DESCRIPTION
The routine pvm_delhosts deletes the computers pointed to in hosts from the existing configuration of computers making up the virtual
machine. All PVM processes and the pvmd running on these computers are killed as the computer is deleted. If pvm_delhosts is successful,
info will be nhost. Partial success is indicated by 1<= info < nhost, and total failure by info < 1. The array infos can be checked to
determine which host caused the error.
The Fortran routine pvmfdelhost deletes a single host from the configuration with each call.
If a host fails, the PVM system will continue to function and will automatically delete this host from the virtual machine. An application
can be notified of a host failure by calling pvm_notify. It is still the responsibility of the application developer to make his applica-
tion tolerant of host failure.
EXAMPLES
C:
static char *hosts[] = {
"sparky",
"thud.cs.utk.edu",
};
int status[2];
info = pvm_delhosts( hosts, 2, status );
Fortran:
CALL PVMFDELHOST( 'azure', INFO )
ERRORS
These error conditions can be returned by pvm_delhosts
PvmBadParam
giving an invalid argument value.
PvmSysErr
local pvmd not responding.
SEE ALSO
pvm_addhosts(3PVM), pvm_notify(3PVM)
30 August, 1993 DELHOSTS(3PVM)