I was connect other machine rsh command.
Othere computer made shell script .
msgchk.sh
#!/bin/ksh
export LANG=C
DATE1=`/bin/date +%b`
DATE2=`/bin/date +%d`
/usr/bin/grep "${DATE1} ${DATE2}" /var/adm/messages*
so , main computer execute command.
rsh machine msgchk.sh
stty: : Invalid argument
stty: : Invalid argument
/var/adm/messages:Jul 16 01:53:21 hanmi unix: SUNW,hme0: late collision
/var/adm/messages:Jul 16 11:48:00 hanmi unix: SUNW,hme0: late collision
/var/adm/messages:Jul 16 11:48:48 hanmi last message repeated 1 time
stty: : Invalid argument
stty: : Invalid argument
I don't understand stty: : Invalid argument command.
Do know any other method?
|
|
0
|
|
|
|
Reply
|
seokho_jang
|
7/16/2003 4:16:15 AM |
|