I want to create a deb
string for my APT repository.
Now it looks like
deb http://sitename $(lsb_release -cs) main
Ubuntu derivatives display their own distribution name in lsb_release -cs
(like sarah
on Mint). Is there a universal way to get upstream Ubuntu version on Ubuntu itself and its derivatives?
cat /etc/version
orcat /proc/version
might get you what you want.