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.