How do you know if it is Linux or Unix?

Trang Esther

New member
How do you know if it is Linux or Unix?
Answer
You can do this interactively in a terminal, or use the output in a script. On Linux systems,
uname will print Linux. … As Rob points out, if you’re running Mac OS X ( Darwin as indicated by uname ), then you’re running a certified version of Unix; if you’re running Linux then you’re not.
 

Tìm kiếm

Back
Top