Web lists-archives.com

Re: Taming the "lsblk" command




On Wednesday, January 09, 2019 03:01:42 AM Richard Hector wrote:
> On 9/01/19 6:04 PM, Jude DaShiell wrote:
> > lsblk -l -o name,label | sort | script
> 
> lsblk -ln -o name,label |sort | <script>

I'm not the OP, but I very much like the way you put script in angle brackets
to show that is a parameter (mcow) and not a literal value!!


> 
> perhaps?
> 
> -n omits the headers, and you probably don't want to pipe into literally
> 'script' (typescript) :-)
> 
> Richard