Sponsored Content
Full Discussion: wall
Top Forums UNIX for Dummies Questions & Answers wall Post 14476 by LivinFree on Friday 1st of February 2002 01:00:04 AM
Old 02-01-2002
I would do it the way wizard suggests...
First, I would make a list of all terminal devices, then read from that list and echo a message:
Code:
 # cat term-list
/dev/tty2
/dev/tty3
/dev/tty4
 #
 # cat send_message.sh
#!/usr/bin/sh
for each in `cat term-list`
do
echo "\n\n\n\n\tPlease log out until 10:00 PM" >>$each
echo "I am currently rebuilding the database" >>$each
done
 #

You might want to leave your terminal out of the list, do you're screen doesn't get interrupted, and maybe also send out a wall message to everyone logged in first, so their terminal doesn't get screwed up right before they have to log out.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

wall commands

I would like to know when using the wall command can I send a message to a specific user that is logged in. Thank you (1 Reply)
Discussion started by: nascar.fan
1 Replies

2. UNIX for Dummies Questions & Answers

wall and rwall commands

let's say in my office i have 20 networked sun boxes named host1 through host20. i am currently logged in as root at some random machine, which we will say host13 for this scenario's sake. now, is there any way i can send a text message of some sort over the whole network to all logged in... (1 Reply)
Discussion started by: AMisledDrummer
1 Replies

3. Shell Programming and Scripting

using the wall or write cmd

Hi all, i'm trying to generate a "pop up window" incorporating either the write or wall command or both. Is such a thing possible ? thanks simon2000 (2 Replies)
Discussion started by: simon2000
2 Replies

4. Fedora

wall and write commands are not working

hi friends i am using fedora linux operating system on the server and two clients(with windows os) are connected to it(server ).but here wall and write cmds are not working to send messages from one system to another system . pls help me (4 Replies)
Discussion started by: sankar_vitam
4 Replies

5. Red Hat

Fire wall Check

Is Proxy IP detectable in Firewall??? Can we monitor the Proxy IPs too?? If it is possible then explain me the procedures and How it will. . . (0 Replies)
Discussion started by: Adhi
0 Replies

6. SuSE

Wall execution problems from cron

So I've been tasked with creating a shell script to run in a cron every few minutes to check duplex settings on my eth0 nic card. I would like for the server to send a wall message to whoever is on the console or in a terminal session. Below is what I have so far. 0,10,20,30,40,50 * * * * ... (1 Reply)
Discussion started by: lutador72
1 Replies

7. What is on Your Mind?

Cyber wall? just for me?

I do have a question about the great cyber wall of certain countries, like the UK for example. For years I just fetched once a week a public podcast that recently answered "notukerror", by chance I read just this weekend on slashdot about this topic. Does this mean the efforts enhanced by the EME... (4 Replies)
Discussion started by: 1in10
4 Replies

8. What is on Your Mind?

Up Against a Brick Wall with Cyberspace SA and Unity3D

Well, it's not working out.... ! After spending over a year coding in C# and Unity 3D creating a new way to visualize cyberspace, I recently purchased a fully maxed out 12-core CPU MacPro with 64 GB of RAM so I could gain performance by utilizing the 12-cores (24 virtual cores) waiting for Unity... (1 Reply)
Discussion started by: Neo
1 Replies
dialups(4)							   File Formats 							dialups(4)

NAME
dialups - list of terminal devices requiring a dial-up password SYNOPSIS
/etc/dialups DESCRIPTION
dialups is an ASCII file which contains a list of terminal devices that require a dial-up password. A dial-up password is an additional password required of users who access the computer through a modem or dial-up port. The correct password must be entered before the user is granted access to the computer. The set of ports that require a dial-up password are listed in the dialups file. Each entry in the dialups file is a single line of the form: terminal-device where terminal-device The full path name of the terminal device that will require a dial-up password for users accessing the computer through a modem or dial-up port. The dialups file should be owned by the root user and the root group. The file should have read and write permissions for the owner (root) only. EXAMPLES
Example 1: A sample dialups file. Here is a sample dialups file: /dev/term/a /dev/term/b /dev/term/c FILES
/etc/d_passwd dial-up password file /etc/dialups list of dial-up ports requiring dial-up passwords SEE ALSO
d_passwd(4) SunOS 5.10 4 May 1994 dialups(4)
All times are GMT -4. The time now is 02:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy