FYI, since it’s just executing lsb_release
, you can use any command option you want in place of -ds
.
Example with codename:
❯ lsb_release -dsc
"Manjaro Linux" Qonos
If you want to remove the quotation marks, you can use:
❯ lsb_release -dsc | sed 's/\"//g'
Manjaro Linux Qonos
See:
lsb_release --help
or
man lsb_release