01-24-2017
You might also look in your manual pages for tar and see if the -z flag is supported. This will allow you to write/read gzip format compressed archive files in one command rather than piping a tar into/from a gzip.
Robin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
While uncompress , gunzip filename.cpio.gz getting the fg. error
gunzip: filename.cpio.gz: unexpected end of file.
Whats the problem?
Size of this .gz file is 660mb .
Thanks, (1 Reply)
Discussion started by: Dolly
1 Replies
2. UNIX for Advanced & Expert Users
Ok, I sent several gzipped files using the UNIX "mail" utility without any special settings (bad idea). When I saved these files from my mail and tried to gunzip them, I would get something like the following error:
gunzip: wmGrep.mel.gz: unexpected end of file
Ok, I messed up. But is it... (4 Replies)
Discussion started by: sicjedi
4 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have a zipped Oralce software (linux.x64_11gR1_database.zip) and I need to unzip it. On the Linux server, I only see the gunzip utility listed:
$ ls -ltr *zip*
-rwxr-xr-x 3 root root 60320 Jan 15 2008 gzip
-rwxr-xr-x 3 root root 60320 Jan 15 2008 gunzip
Can I use the command... (1 Reply)
Discussion started by: syang68
1 Replies
4. UNIX for Advanced & Expert Users
Hello All,
I am trying to extract a trademark character (™) from a varchar column in a DB2 Table. The result is to be placed in a sequential file in an AIX environment.
After the Extraction is complete when I view the extracted file I noticed that in place of the (™) Character another... (5 Replies)
Discussion started by: cosec
5 Replies
5. AIX
Hi guys,
This is my 1st post here. I tried to Google around but failed to get my solution. So I hope you guys could help me. (I have just a basic unix background for 2years so I'm sorry if im asking stupid questions)
OS - Aix 6.1, 64 bits.
Server - currently I only have telnet access to a... (12 Replies)
Discussion started by: pilotHans
12 Replies
6. UNIX for Dummies Questions & Answers
I have a file having name smthing.tar.bz2-00
I am trying to unzip it using
tar -xvjf "name"
But I am not able to unzip it.
PLease advise for the issue. (3 Replies)
Discussion started by: nixhead
3 Replies
7. Shell Programming and Scripting
Hi,
I have a file in windows environment and moved to UNIX through FTP (ASCII format).
The file is having with tab delimited file.
awk ‘FNR>2' file_cust*.txt >>filnal.txt
I have the same file in production; it is working fine with the same procedure. Once we receive the file in windows... (1 Reply)
Discussion started by: onesuri
1 Replies
8. Shell Programming and Scripting
i am working on unix - ksh
trying to unzip a .gz file
and when i executed the below, in my command prompt in ksh
gunzip abc.gz
it was throwing the message below:
gunzip: abc.gz: unexpected end of file -
pls advise what is the reason for it..i am pretty sure the .gz file had no issues. (3 Replies)
Discussion started by: billpeter3010
3 Replies
9. Shell Programming and Scripting
hi All,
i have a file called rsync-3.0.9.tar.gz, i have to unzip and then uncompress it. but at first while i am trying to unzip this file, it is giving me following error:
-rw-r--r-- 1 bravodba bravodba 7278458 Aug 19 08:26 rsync-3.0.9.tar.gz
bash-3.2$ unzip rsync-3.0.9.tar.gz
Archive: ... (12 Replies)
Discussion started by: lovelysethii
12 Replies
10. Solaris
Hello All,
I'm trying to write a script to load the MySQL DB from a dump file but the unzipping doesnt seem to work, not sure whats the issue, i get below error
bash>gunzip mysql2-dump.gz
gunzip: mysql2-dump: File too large
bash >
can anyone pls let me know how to sort this out?
... (2 Replies)
Discussion started by: Mahesh_RPM
2 Replies
LEARN ABOUT CENTOS
grub-file
GRUB-FILE(1) User Commands GRUB-FILE(1)
NAME
grub-file - check file type
SYNOPSIS
file OPTIONS FILE
DESCRIPTION
Check if FILE is of specified type.
--is-i386-xen-pae-domu
Check if FILE can be booted as i386 PAE Xen unprivileged guest kernel
--is-x86_64-xen-domu
Check if FILE can be booted as x86_64 Xen unprivileged guest kernel
--is-x86-xen-dom0
Check if FILE can be used as Xen x86 privileged guest kernel
--is-x86-multiboot
Check if FILE can be used as x86 multiboot kernel
--is-x86-multiboot2 Check if FILE can be used as x86 multiboot2 kernel
--is-arm-linux
Check if FILE is ARM Linux
--is-arm64-linux
Check if FILE is ARM64 Linux
--is-ia64-linux
Check if FILE is IA64 Linux
--is-mips-linux
Check if FILE is MIPS Linux
--is-mipsel-linux
Check if FILE is MIPSEL Linux
--is-sparc64-linux
Check if FILE is SPARC64 Linux
--is-powerpc-linux
Check if FILE is POWERPC Linux
--is-x86-linux
Check if FILE is x86 Linux
--is-x86-linux32
Check if FILE is x86 Linux supporting 32-bit protocol
--is-x86-kfreebsd
Check if FILE is x86 kFreeBSD
--is-i386-kfreebsd
Check if FILE is i386 kFreeBSD
--is-x86_64-kfreebsd
Check if FILE is x86_64 kFreeBSD
--is-x86-knetbsd
Check if FILE is x86 kNetBSD
--is-i386-knetbsd
Check if FILE is i386 kNetBSD
--is-x86_64-knetbsd Check if FILE is x86_64 kNetBSD
--is-i386-efi
Check if FILE is i386 EFI file
--is-x86_64-efi
Check if FILE is x86_64 EFI file
--is-ia64-efi
Check if FILE is IA64 EFI file
--is-arm64-efi
Check if FILE is ARM64 EFI file
--is-arm-efi
Check if FILE is ARM EFI file
--is-hibernated-hiberfil
Check if FILE is hiberfil.sys in hibernated state
--is-x86_64-xnu
Check if FILE is x86_64 XNU (Mac OS X kernel)
--is-i386-xnu
Check if FILE is i386 XNU (Mac OS X kernel)
--is-xnu-hibr
Check if FILE is XNU (Mac OS X kernel) hibernated image
--is-x86-bios-bootsector
Check if FILE is BIOS bootsector
-h, --help Display this help and exit. -u, --usage Display the usage of this command and exit.
SEE ALSO
The full documentation for grub-file is maintained as a Texinfo manual. If the info and grub-file programs are properly installed at your
site, the command
info grub-file
should give you access to the complete manual.
grub-file (GRUB) 2.02-2ubuntu8.3 July 2018 GRUB-FILE(1)