Re: how do I use gunzip with dd?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




FFS. The gzip folks are back to this hubris? When it first came out they tried to usurp the .Z (compress) file extension unstead of using a nonrude '.gz' as they were quickly convinced to.

Please use "gzcat"; "zcat" is for compress/uncompress and if your vendor's installing gzcat as zcat they need a fresh complaint.

Assuming the OP is on a modern Fedora box, let see what I have on my system here...

$ cat /etc/redhat-release
Fedora release 30 (Thirty)
$ echo "test" > test.txt
$ gzip test.txt
$ gzcat test.txt.gz
-bash: gzcat: command not found

$ zcat test.txt.gz
test
$ sudo dnf provides gzcat
Error: No Matches found

$ sudo dnf provides zcat
gzip-1.9-9.fc30.x86_64 : The GNU data compression program
Repo        : @System
Matched from:
Provide    : /bin/zcat
Filename    : /usr/bin/zcat
...


Nope, it's zcat, even for gzip files, on modern Linux systems ( at least Redhat based ones ).  I've not used gzcat since I retired my last Sun box over 10 years ago.

- Derrik

-- 
-- Derrik

Derrik Walker v2.0, RHCE
dwalker@xxxxxxxxx

"Those UNIX guys, they think weird!" -- John C. Dvorak 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux