[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: command to answer "what's your OS"



Dan Jacobson wrote:
Recently in webland I was asked

What is your OS?

I wanted a single command that would say Debian GNU/Linux,
$ uname -a #no "Debian"
Linux jidanni1 2.6.7-1-k7 #1 Thu Jul 8 06:45:35 EDT 2004 i686 GNU/Linux
$ cat /etc/debian_version #doesn't say GNU/Linux.
testing/unstable
$ grep free /etc/motd #kind of sloppy
The programs included with the Debian GNU/Linux system are free software;

Therefore there is no single standard command that says Debian GNU/Linux.



cat /etc/issue or cat /etc/issue.net

Also works on Slackware[all I have access to] so it seems standard.

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: