bash: check for network

Stuart Jansen sjansen at buscaluz.org
Thu Apr 14 17:25:10 MDT 2005


On Thu, 2005-04-14 at 17:20 -0600, Corey Edwards wrote:
> On Thu, 2005-04-14 at 16:27, Benjamin Schmuhl wrote:
> > 
> >  >/dev/null 2>&1
> 
> Which can be shortened to &>/dev/null.

Which can be shortened to &>-

(Although, technically, this last one behaves slightly differently, but
I felt compelled to add my $0.02. )

-- 
Stuart Jansen                   e-mail/jabber: sjansen at buscaluz.org

"XML is like violence: if it doesn't solve your problem, you aren't
using enough of it." - Chris Maden


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://plug.org/pipermail/plug/attachments/20050414/ba05a512/attachment.bin 


More information about the PLUG mailing list