0

I try to know the linux distribution version of a remote linux machine. After trying several commands, I still can't identify the linux distribution version

$ uname -a
Linux server1 2.6.18 #1 Thu Jan 11 21:34:48 CET 2007 i686 athlon-4 i386 GNU/Linux

$ cat /proc/version
Linux version 2.6.18 (root@server1) (gcc version 3.4.6) #1 Thu Jan 11 21:34:48 CET 2007


$ cat /etc/issue
Welcome to \s \r (\l)

$ lsb_release -a
-sh: lsb_release: command not found

$ cat /etc/*-release
cat: /etc/*-release: No such file or directory

what can I do to know its linux distribution(i.e, redhat or debian or anything else?)

4
  • lsb_release -a or cat /etc/issue
    – user192526
    Feb 7, 2017 at 11:14
  • @Bahamut they don't work
    – lily
    Feb 7, 2017 at 12:51
  • You may take a look at /etc/issue (if it has not been modified, it will normally have the OS name in it).
    – zeppelin
    Feb 7, 2017 at 13:33
  • @UlrichSchwarz the link you provided can't solve the problem
    – lily
    Feb 7, 2017 at 15:18

1 Answer 1

0

Try with it:

cat /etc/*-release
3
  • I tried, don't you see?
    – lily
    Feb 7, 2017 at 11:12
  • sorry, answer edited, try again
    – Mc Kernel
    Feb 7, 2017 at 11:13
  • it doesn't work
    – lily
    Feb 7, 2017 at 12:51

Not the answer you're looking for? Browse other questions tagged .