# list block devices lb() { lbo \ "SIZE" \ "TYPE" \ "FSTYPE" \ "LABEL" \ "MOUNTPOINTS" } # common arguments lbc() { lsblk \ --noempty \ "${@}" } # output arguments lbo() { local argument local arguments="NAME" for argument in "${@}"; do arguments="${arguments},${argument}" done lbc \ --output "${arguments}" }