On Bodhi linux, if I do this :

. /etc/os-release
echo $NAME 

the output is : "Ubuntu", this makes it extra hard to determine what is what for a script.

and this will be important when calling apps you expect to be there.

I'd like to be able to determine in shell script when I am on Ubuntu subranches and what and also still be able to tell when I'm on stock ubuntu.

I implemented my own variant of this : https://unix.stackexchange.com/a/6348/228658

Is such a thing possible?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.