enable FTP access / check version

how can I check the Linux version?

$ cat /proc/version
Linux version 2.4.21-0.13mdksecure (flepied@bi.mandrakesoft.com) (gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)) #1 SMP Fri Mar 14 14:10:36 EST 2003

This provides kernel info, build dates, and possibly even the distribution and version.

There might also be a /etc/*-release file where the * corresponds to the linux distribution (/etc/SuSE-release, /etc/redhat-release, or /etc/mandrake-release).

$ cat /etc/mandrake-release
Mandrake Linux release 9.1 (Bamboo) for i586

Carl

there is no such file or dir when cat /proc/version
if I chg to /proc and ls

xxxx# ls
0 138 148 1537 175 180 192 5 78 9662
1 139 149 161 176 181 2 6 80 9668
122 140 1534 164 177 183 3 67 82 9672
130 141 1535 171 178 189 4 74 9660 curproc
137 143 1536 174 179 190 4452 76 9661
xxxx# ls -l

There is the message when I login:

FreeBSD/i386 (xyz.com) (ttyp0)

login: err
Password:
Last login: Fri Oct 20 18:42:59 from invalid hostname
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.

FreeBSD 4.5-RELEASE (GENERIC) #0: Mon Jan 28 14:31:56 GMT 2002

Well you did ask:

So that's how you get your version in Linux. However in FreeBSD as your login screen identifies your system that doesn't seem to exist. On my Mac, I can get a version when I type:

$ uname -a
Darwin Carls-Computer.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~/RELEASE_PPC  Power Macintosh powerpc

On my OpenBSD system I get:

$ uname -a
OpenBSD schelin.org 3.8 GENERIC#138 i386

Carl

You are using the FreeBSD. also you can check the machine arch through the following command.

$ uname -m

Prashant,

If you want check in your redhat, CentOs, Fedora machine. use the following command.

root@prashant [~]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 4)
root@prashant [~]#

If type uname -a, the o/p is:

FreeBSD abcd.com 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31
:56 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i3
86

is there any different with Linux Redhat? or Where can I get more information on this OS?

Could you please let me know which type of information do you want.

Wating for your reply.

Prashant,

as per your last reply

FreeBSD abcd.com 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31
:56 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i3
86

your op is FreeBSD 4.5-RELEASE
machine arch is i386

so please let me know.

prashant,

I want to know that is this OS easy to operate, maintain ? and is it common?

because I have to using this OS from now.

thank you

Which? BSD or linux?

Go ahead with Linux ( Fedora Core 5 )

Prashant,

Is there a big difference between ASP for linux and the original ASP? We have to migrate a site that was done in ASP but our hosting company only supports the linux version of ASP. Should we just rewrite the site?

A question like that deserves it's own thread, I think :slight_smile:

If you want to run asp script on linux. Please use php mine type for asp.
That's it.

Example
AddType application/x-httpd-php .php ( copy the tag & add the following tag for asp )
AddType application/x-httpd-php .asp

:slight_smile: bingo

Prashant,