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
ul(1)								   User Commands							     ul(1)

NAME
ul - do underlining SYNOPSIS
ul [-i] [-t terminal] [filename]... DESCRIPTION
ul reads the named filenames (or the standard input if none are given) and translates occurrences of underscores to the sequence which indicates underlining for the terminal in use, as specified by the environment variable TERM. ul uses the /usr/share/lib/terminfo entry to determine the appropriate sequences for underlining. If the terminal is incapable of underlining, but is capable of a standout mode then that is used instead. If the terminal can overstrike, or handles underlining automatically, ul degenerates to cat(1). If the terminal can- not underline, underlining is ignored. OPTIONS
-t terminal Override the terminal kind specified in the environment. If the terminal cannot underline, underlining is ignored. If the terminal name is not found, no underlining is attempted. -i Indicate underlining by a separate line containing appropriate dashes `-'; this is useful when you want to look at the underlining which is present in an nroff(1) output stream on a CRT-terminal. RETURN VALUES
ul returns exit code 1 if the file specified is not found. FILES
/usr/share/lib/terminfo/* ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWdoc | +-----------------------------+-----------------------------+ SEE ALSO
cat(1), man(1), nroff(1), attributes(5) BUGS
nroff usually generates a series of backspaces and underlines intermixed with the text to indicate underlining. ul makes attempt to opti- mize the backward motion. SunOS 5.11 17 Mar 1994 ul(1)
All times are GMT -4. The time now is 05:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy