Re: Cannot apt-get update
You could try: cat /etc/issue
##Fedora box:
[root@appserver]# cat /etc/issue
Fedora Core release 4 (Stentz)
Kernel \r on an \m
##Debian box:
jpa:~# cat /etc/issue
Debian GNU/Linux 4.0 \n \l
##Ubuntu box:
marcello@coxinha:~$ cat /etc/issue
Ubuntu 7.04 \n \l
On Tue, 9 Oct 2007 14:07:09 +0200
"Dotan Cohen" <dotancohen@gmail.com> wrote:
> On 09/10/2007, Douglas A. Tutty <dtutty@porchlight.ca> wrote:
> > Well, I guess there won't be one place to look in all OSs to discover
> > which one it is.
> >
> > In OpenBSD, the first line of the dmesg is
> > OpenBSD (version) (kernel version)
> >
> > In Debian, to know the version, you really have to look at the
> > /etc/apt/sources_list, since /etc/debian_version only gets changed with
> > each stable release; you can't tell the diff between testing and Sid.
> >
> > I don't know what Ubuntu looks like.
> >
> > The NetBSD and OpenBSD have a man afterboot. Then again, its easy to
> > tell if you are running a Linux or a BSD.
> >
> > Doug.
>
> Thanks. I'll start familiarizing myself with the different outputs.
> I'm no guru, and will never be one, but I like to know as much as I
> can. Thank you.
>
> Dotan Cohen
>
> http://what-is-what.com
> http://gibberish.co.il
> __-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__-__
--
------------------------------
Marcello Barreto de Medeiros
Network Admin/Programmer
+55 84 3231 4617 [Office]
+55 84 9914 3254 [Mobile]
marcello@linconet.com.br [MSN]
Linconet Brasil
------------------------------
Reply to: