-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Thad,

thad wrote:
> 
> ssh ${HOST} '/var/report/erreport.sh'
> ssh ${HOST} 'ls -la /var/report/errlog.out `hostname`' >>
> $BASE_DIR/UP_${FILE}
> 

Can you try 'ls -la --color=none `hostname`' instead of what you have there?

And the next question would be whether you mean:

  'ls -la --color=none /var/report/errlog.out | grep `hostname`'

HTH

- --
Dean Michael C. Berris
http://cplusplus-soup.blogspot.com/
mikhailberis AT gmail DOT com
+63 928 7291459
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFwYE1BGP1EujvLlsRAv+PAKCn1iF9gXW6T9lzAhThXxpp/bqApwCgvC3z
ftNo7WP3DAfC4qLak9VMOYU=
=x4Qs
-----END PGP SIGNATURE-----
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
plug@lists.linux.org.ph (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to