begin quoting what Rocco Rutte said on Wed, Mar 27, 2002 at 04:58:17PM +0100: > > My mistake. Same here. Solaris doesn't like the '-s' switch for > hostname. So I have to use 'hostname | cut ...' the get the short form.
uname -n Works on both Linux and Solaris.
msg26487/pgp00000.pgp
Description: PGP signature