- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- wierd cat problem
Operating System - HP-UX
1821805
Members
3234
Online
109637
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2004 04:55 AM
тАО03-15-2004 04:55 AM
Hi,
this may be a really stupid question, but I'm stumped. I've got a couple scripts that have send me an email when a situation happens on my system, they all have the general form:
cat file1.txt| mailx "my email address"
all of a sudden when I run the script or even just issue the cat command I either get a null output on a file i know exists or the error message: No message !?!
Anyone know what is going on and how to fix it?
many thanks
John Henrikson
this may be a really stupid question, but I'm stumped. I've got a couple scripts that have send me an email when a situation happens on my system, they all have the general form:
cat file1.txt| mailx "my email address"
all of a sudden when I run the script or even just issue the cat command I either get a null output on a file i know exists or the error message: No message !?!
Anyone know what is going on and how to fix it?
many thanks
John Henrikson
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2004 05:03 AM
тАО03-15-2004 05:03 AM
Solution
It appears that somehow your cat command has been clobbered or the cat command you are running isn't the one that you think you are running. Do a "type cat" and make sure that cat is /usr/bin/cat. If not, you have PATH problems. It is also possible that you have a bad alias for cat. Enter "alias" and see if there is an alias for cat. If these are okay then almost certainly you cat a bad cat command. There is a duplicate cat command under /bin. Try it.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2004 05:05 AM
тАО03-15-2004 05:05 AM
Re: wierd cat problem
found a bad "cat" and removed it.. that did the trick.. many thanks for your help!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP