On Sunday, 30 September 2018 18.46.58 CEST [email protected] wrote:
> HI kai,,
> 
> Thanks for your information, 
> 
> sorry to ask this again, Here getting this below output, but not even a 
> proper one , anything wrong I did?, /dev/sdi is free disk. is that right 
> one, output will be in descending order?
> 
> bash -c 'comm -23 <(lsblk -snlo name) <(lsblk -l | grep part | cut -c1-3 | 
> uniq)'
> sr0
> comm: file 1 is not in sorted order
> sda1
> sda
> sdf1
> sdf
> sdh1
> sdh
> rootvg-lv_swap1 (dm-0)

A typo, the -s should have been -S

Try this
bash -c 'comm -23 <(lsblk -Snlo name) <(lsblk -l | grep part | cut -c1-3 | 
uniq)'


-- 
Kai Stian Olstad


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/5437548.uDZtN8urMM%40x1.
For more options, visit https://groups.google.com/d/optout.

Reply via email to