Apparently on Mac OS X 10.4.7 (and earlier), the zcat command doesn’t work. zcat is a very useful util to read through gzip-archived system logs and usually works by just typing zcat /path/to/log.gz
However, it appears to be broken on the Mac. For example, this is actual output:
[user@host:~] zcat /var/log/system.log.0.gz
zcat: /var/log/system.log.0.gz.Z: No such file or directory
[user@host:~] zcat -S .gz /var/log/system.log.0.gz
zcat: /var/log/system.log.0.gz.Z: No such file or directory
Similar Posts:
- Using MySQL with the built-in OSX Apache and PHP
- Split multiple log files and monitor them with GNU tail
- Howto: Replace or Upgrade your MacBook Pro RAM
- No lookupd? No problem!
- Drobo S 2G, NewerTech MAXPower 6G eSATA PCIe Review