0

Possible Duplicate:
How do I find out what version of Linux is running?

This happens sometimes: I ssh into a machine but I forgot (or never knew) what linux distribution it's running.

How can I find out? I'd like a general way to at least solve this problem for the more popular distributions - I don't mind if it involves several steps, but one single command would be ideal :)

Fragsworth
  • 1,121
  • 2
  • 12
  • 14

2 Answers2

0

"cat /etc/issue" will show the distribution on most platforms, unless someone has modified it.

Aaron Brown
  • 1,677
  • 1
  • 12
  • 21