enable FTP access / check version


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat enable FTP access / check version
# 1  
Old 10-20-2006
check version

how can I check the Linux version?

Last edited by zp523444; 10-20-2006 at 07:53 AM..
# 2  
Old 10-20-2006
Code:
$ 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).

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

Carl
# 3  
Old 10-20-2006
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
# 4  
Old 10-20-2006
Well you did ask:

Quote:
how can I check the Linux version?
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:

Code:
$ 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:

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

Carl
# 5  
Old 10-20-2006
Hammer & Screwdriver

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

$ uname -m


Prashant,

Last edited by prashant_ohol; 10-20-2006 at 09:02 PM..
# 6  
Old 10-20-2006
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 [~]#
# 7  
Old 10-21-2006
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?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to enable rh-python34 from bash shell script, default python is 2.6 version.?

On our server default python version is 2.6, how to enable rh-python34 via bash shell. Thanks a lot for the helpful info. (7 Replies)
Discussion started by: cplusplus1
7 Replies

2. Shell Programming and Scripting

Enable Annonymous FTP login.

Hi, I am transferring my report files to another FTP server which the end users are downloading later. But while accessing the FTP server its asking for username and password which i don't want to share to the end users rather i want to make the login as anonymous so that it... (3 Replies)
Discussion started by: Showdown
3 Replies

3. HP-UX

Enable ftp port

Hi Experts, Need your help in enabling the ftp port in HP-UX box. Is there any command/config file that needs to be changed? Also is it possible to open it only for few selected IPs only? (9 Replies)
Discussion started by: sai_2507
9 Replies

4. HP-UX

FTP service Enable/Disable

hi everybody, I can easily enable /disable the FTP service from SAM, how can I do this via command line? using inetd? how? cheers, messi (1 Reply)
Discussion started by: messi777
1 Replies

5. AIX

ftp access without shell access

Hi all, I'm using AIX v 5.3 I want to create system users to access through ftp or sftp and restrict those users into specific directory and don't traverse the whole file system just to be restricted within a directory and don't get shell access . i don't want to use any other third party... (7 Replies)
Discussion started by: h@foorsa.biz
7 Replies

6. Solaris

Enable FTP for root user in Solaris 10

I am not able to get ftp working for Solaris 10 for root user. I am getting login failed error. 331 Password required for root. Password: 530 Login incorrect. Login failed. Tried following things already. 1. SFTP works ok, still would like to know why FTP is not working (curious). 2.... (5 Replies)
Discussion started by: webkid
5 Replies

7. IP Networking

Enable PWD command on anonymous FTP?

Hello everyone - First post here, I'm trying to connect to an anonymous ftp server and I am told by the server admin that I cannot have access to the "print working directory" command. I need to have access to this command in order for my (and my clients) preferred ftp client to connect. (the... (9 Replies)
Discussion started by: HiredGun79
9 Replies

8. Solaris

Solaris 8 - FTP server -enable

Hi, I have turn off the FTP service and rebooted the server . (edit /etc/inetd.conf and /etc/inet/services) Now , how can I enable back the FTP without rebooting the server . Thanks (1 Reply)
Discussion started by: civic2005
1 Replies

9. Linux

ftp telnet enable

hi , i have jsut installed linux 9.0 , but i can not ftp or telnet to the system . i have installed the ftp and the telnet server during installation . i have also configured the files to enable the ftp and telnet , the ftp and the telnet daemons are running , but when i do ftp : ftp... (1 Reply)
Discussion started by: ppass
1 Replies

10. UNIX for Dummies Questions & Answers

Enable FTP on SCO

My goal is to use FTP to transfer file between PC and SCO Unix server.When I try to connect via FTP with root user, it failed. What should I do? How to configure ftpaccess? Thanks in advance! (2 Replies)
Discussion started by: Vladan
2 Replies
Login or Register to Ask a Question