From 248bbae91bf053ba12cd4f7febfd6cd7a910f47a Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 14 May 2023 13:45:02 +0200 Subject: [PATCH] lsblk --- bash/lsblk.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/bash/lsblk.sh b/bash/lsblk.sh index 42b6442..7ae874a 100644 --- a/bash/lsblk.sh +++ b/bash/lsblk.sh @@ -1,3 +1,12 @@ -alias lb='lsblk --noempty --output NAME,SIZE,TYPE,FSTYPE,MOUNTPOINTS' +# list block devices +alias lb="\ +lsblk \ +--output \"NAME,SIZE,TYPE,FSTYPE,MOUNTPOINTS\" \ +--noempty \ +" -alias lbo='lsblk --output NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT' +# list block devices (old) +alias lbo="\ +lsblk \ +--output \"NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT\" \ +"