LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-27-2010, 07:06 AM   #1
i_have_a_question
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Rep: Reputation: 0
Unhappy ring system bell of connected computer (linux ssh)


I have made this bash script program that i run while logged into an ssh server, (while in the linux command terminal). The username "jking" would be another person logged into the same ssh server. I normally use this to send messages to other user's command terminal, but they don't always know they have gotten the message. Is there any way I could ring their computer's bell when the message is sent? would i need, for example, jking's computer's address such as 10.43.132.254 ??

your help is GREATLY appreciated! THANKS!!

========================================================

#!/usr/bin/sh
#3/23/10
#john doe

clear

write jking << EOF
>"this is sent message"
EOF

done
==========================================================
 
Old 04-27-2010, 05:26 PM   #2
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: Arch / Mint 17
Posts: 297
Blog Entries: 3

Rep: Reputation: 50
Would something like
Code:
echo -e \\a
do?

If not, you might want to try the beep utility.
 
  


Reply

Tags
bell, command, system, write



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using Linux write command and ringing system bell i_have_a_question Programming 1 04-27-2010 08:15 AM
Computer does not boot. WITH harddrive connected. (Not linux specific) jbarnes8 Linux - Hardware 5 08-26-2009 09:42 AM
LXer: lsof Exposes Anyone Connected to Your Linux Computer LXer Syndicated Linux News 0 05-02-2009 04:20 AM
Compaq Computer Corporation Netelligent 4/16 Token Ring and debian? Boudewijn Linux - Hardware 1 01-29-2005 10:36 AM
Tunnel all internet traffic through a ssh connected remote computer Bateman Linux - Networking 12 12-10-2004 05:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration