I'm trying to retrieve the distro name from the lsb_release -i output, but using
lsb_release -i | sed 's/Distributor ID: //g'
won't do the trick.
What am I doing wrong? Or maybe should I change the tool?
|
You do not have to manipulate the output if you add the
|
|||
|
|
|
The character after the colon is a tab, not a space. Use
The You can also use much simpler
|
||||
|
|
lsb_releaseand it's not installed on my system. Can you please show us the output of the command before you pipe it intosed? – rahmu Feb 18 at 9:22