Ubuntu版本查看方法
这个命令还是比较通用.redhat也可以用.

#cat /etc/issue

但Ubuntu中下面的命令可以见到更详细的内容.

# sudo lsb_release -a

No LSB modules are available., , ,