[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to start a delayed shutdown over ssh and disconnect immediately?



On Fri, Aug 14, 2009 at 10:10:49AM -0500, Boyd Stephen Smith Jr. wrote:
> In <[🔎] 20090814143355.GA5433@146653177.ece.utexas.edu>, Kumar Appaiah wrote:
> >On Fri, Aug 14, 2009 at 11:08:16PM +0900, Osamu Aoki wrote:
> >> Without ">/dev/null 2>/dev/null"
> >
> >Minor tip. You can replace > /dev/null 2> /dev/null with the shorthand
> >&> /dev/null to achieve the same effect. :-)
> 
> ...in bash.  It's not POSIX standard.  It's also not supported by a number 
> of alternative shells for Linux.
> 
> I use '>/dev/null 2>&1', which is portable.

As soon as I said it, I started wondering if it is a bashism. Thanks
for this clarification.

Kumar
-- 
Kumar Appaiah


Reply to: