shell

> 
> Pol Hallen writes:
>>  > Sempre in tema del topic "Script lanciato da crontab non torna al
>>  > prompt?" come redirigo l'output di uno script in cron alla 
> shell
>>  > virtuale di un utente/i? (quindi non /dev/ttyX)
>>  >
>>  > grazie!
>> 
>>  mi rispondo in parte:
>> 
>>  echo "test|write user pts/0
>> 
>>  ma se dovessi avere 10 shell aperte come invio a tutti? (incluso root?)
> 
> wall ?
> 

NAME
     wall — write a message to users

SYNOPSIS
     wall [-n] [-t TIMEOUT] [file]

DESCRIPTION
     Wall displays the contents of file or, by default, its standard input, on 
the ter‐
     minals of all currently logged in users. The command will cut over 79 
character
     long lines to new lines. Short lines are white space padded to have 79 
characters.
     The command will always put carriage return and new line at the end of 
each line.

     Only the super-user can write on the terminals of users who have chosen to 
deny
     messages or are using a program which automatically denies messages.

     Reading from a file is refused when the invoker is not superuser and the 
program
     is suid or sgid.



--
Per REVOCARE l'iscrizione alla lista, inviare un email a
debian-italian-requ...@lists.debian.org con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a listmas...@lists.debian.org

To UNSUBSCRIBE, email to debian-italian-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1390396620.37715.yahoomail...@web173005.mail.ir2.yahoo.com

Rispondere a