From 2c80e464ba93f675db5c39412c1d563247ef7fa9 Mon Sep 17 00:00:00 2001 From: sbuller Date: Tue, 22 Dec 2020 05:59:32 -0600 Subject: [PATCH] lsblk: add custom output example (#5039) --- pages/linux/lsblk.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/linux/lsblk.md b/pages/linux/lsblk.md index 9dd3cac48..37afe23ff 100644 --- a/pages/linux/lsblk.md +++ b/pages/linux/lsblk.md @@ -29,3 +29,7 @@ - Exclude the devices specified by the comma-separated list of major device numbers: `lsblk -e {{1,7}}` + +- Display a customized summary using a comma-separated list of columns: + +`lsblk --output {{NAME}},{{SERIAL}},{{MODEL}},{{TRAN}},{{TYPE}},{{SIZE}},{{FSTYPE}},{{MOUNTPOINT}}`