I am asking question after googling and I tried multiple solution but need a specific answer.
I have logged in another pc with SSH and I need to know that the OS distribution is server or desktop.
I have tried following command and its output:
lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.5 LTS Release: 12.04 Codename: precise
cat /proc/version Linux version 3.5.0-61-generic (buildd@toyol) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #90-Ubuntu SMP Sun Apr 26 11:23:53 UTC 2015
Not at all duplicate with this