Sekedar coretan seorang nyubi
Here’s the scenario: I login or run a script on a Linux machine.
How do I/my script tell that I am on a Debian or Redhat machine? No, I don’t mean checking the existence of some programs specific to either distribution .. what I want is something along the lines of “cat”ting a file under /proc or /etc, or .. running a command such as “uname”.
Tags: Debian, I've, logged, machine, Redhat, tell