Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jul 2013 09:36:49 -0400
From:      Fbsd8 <fbsd8@a1poweruser.com>
To:        Devin Teske <dteske@freebsd.org>
Cc:        questions <questions@FreeBSD.org>
Subject:   Re: jls usage
Message-ID:  <51E157F1.8090208@a1poweruser.com>
In-Reply-To: <13CA24D6AB415D428143D44749F57D7201FBF9CF@ltcfiswmsgmb21>
References:  <51DF59B1.4020107@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201FBF9CF@ltcfiswmsgmb21>

next in thread | previous in thread | raw e-mail | index | archive | help
Teske, Devin wrote:
> On Jul 11, 2013, at 6:19 PM, Fbsd8 wrote:
> 
>> In a .sh script I'm trying to get the jid for a single jail using this code
>>
>> jid=`jls -j jailname | cut -f 1- | awk '{print $1}'`
>>
> 
> Looks a little over complicated... why not just..
> 
> jls -j jailname jid


Thanks Devin.  Thats what I was looking for.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51E157F1.8090208>