sending message to terminal

hi all
i have script
#!/bin/bash
cd /usr3/prod
grep ERROR /usr3/prod/ind.log > /usr3/prod/ind_err.log
if test -s /usr3/prod/ind_err.log
then
echo "error during process"
else
echo "process succeed"
fi
i want that this message(echo) will be display one time at the top of the screen to all the pc stand (sessions)
and not just to the current terminal(session) that runs it ,without preventing from the other process that runs in the sessions to run.
how shell i do this ?
please help
thanks

See wall and write commands.

you can use talk also.

hi
thanks for quick response
it works i did this :
#!/bin/bash
cd /usr3/prod
grep ERROR /usr3/prod/ind.log > /usr3/prod/ind_err.log
if test -s /usr3/prod/ind_err.log
then
wall "error during process"
else
wall "process succeed"
fi
can i be sure that this command is not hold/interrupting to other proccess from running ? cause i needed to do enter cause the message is stuck on the screen
what are you saying ?

No, you can run this safely, it won't hold/interrupt other processes !!!!!!

thank you
now i can sleep well at night :slight_smile: