- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problems with /usr/sbin/wall
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
12-12-2003 05:55 AM
12-12-2003 05:55 AM
The wall command does not seem to work. All users have can accept messages (I have this set in /etc/profile) :
$ mesg
is y
But when I use wall, nothing is sent out. If I run (as root) in one terminal :
# /usr/sbin/wall "Hello!"
Hello!??
But when I look at my other terminal window, which is just my normal user, nothing is posted. What am I doing wrong?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2003 05:59 AM
12-12-2003 05:59 AM
Re: Problems with /usr/sbin/wall
I had to:
#wall
Hi there
and it worked. I think wall bypasses mesg anyway since its the same command issued when you shutdown the server and everyone sees it anyway reguardless of your mesg.
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2003 06:00 AM
12-12-2003 06:00 AM
Re: Problems with /usr/sbin/wall
You have to ctrl-D to terminate & send the mesg.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2003 06:00 AM
12-12-2003 06:00 AM
Re: Problems with /usr/sbin/wall
#echo "Hi there" | wall
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2003 06:01 AM
12-12-2003 06:01 AM
Re: Problems with /usr/sbin/wall
Try..
# echo "Hello!" | wall
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2003 06:04 AM
12-12-2003 06:04 AM
Re: Problems with /usr/sbin/wall
do something like:
echo "Hello" | wall
or
wall < mytextfile
or a 'here docs' input, e.g.
wall <
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2003 06:05 AM
12-12-2003 06:05 AM
Re: Problems with /usr/sbin/wall
# echo "hello" | /usr/sbin/wall
and
# /usr/sbin/wall
hello
^d
The only difference I get is that hello is no longer echoed to my own screen with ?? appended to the end. So still no luck, any other suggestions???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2003 06:11 AM
12-12-2003 06:11 AM
Re: Problems with /usr/sbin/wall
Just wanted to clear that up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2003 06:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2003 06:40 AM
12-12-2003 06:40 AM
Re: Problems with /usr/sbin/wall
Thanks!