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?
On my machine:
The character after the colon is a tab, not a space. Use
You can also use much simpler
You do not have to manipulate the output if you add the