"Nick Sabalausky" <a@a.a> wrote in message news:ip9va1$2lbe$1...@digitalmars.com... > "Spacen Jasset" <spacenjas...@yahoo.co.uk> wrote in message > news:ip9n5d$27je$1...@digitalmars.com... >> >> try lsb_release for this, if you aren't sure (and it's available as a >> command) >> >> jason@ionrift:~$ lsb_release -a >> No LSB modules are available. >> Distributor ID: Ubuntu >> Description: Ubuntu 10.04.2 LTS >> Release: 10.04 >> Codename: lucid >> >> otherwise cat /etc/*release* >> > > On my system, the one I'm compiling on, I get: > > $ lsb_release -a > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 10.04.1 LTS > Release: 10.04 > Codename: lucid > > On the main server I just get: > > $ lsb_release -a > -jailshell: lsb_release: command not found >
On the main server, cat /etc/*release* doesn't work either: $ cat /etc/*release* cat: cat /etc/*release*: No such file or directory