[CentOS] Cents OS from Bash Shell

2013-04-25 Thread Adekoya Adekunle
I want to know the right command to type from a bash shell so that i can 1) Check the version of my cent os 2) Check all the open ports (tcp and udp) on my machine 3) Open a specific port say port 3306 so that a telnet request from a remote machiene can be accepted 4) Disable the

Re: [CentOS] Cents OS from Bash Shell

2013-04-25 Thread John Doe
From: Adekoya Adekunle adekunleadek...@gmail.com I want to know the right command to type from a bash shell so that i can   1) Check the version of my cent os   2)  Check all the open ports (tcp and udp) on my machine   3)  Open a specific port say port 3306 so that a  telnet request from

Re: [CentOS] Cents OS from Bash Shell

2013-04-25 Thread Earl Ramirez
On Thu, 2013-04-25 at 13:04 +0100, Adekoya Adekunle wrote: I want to know the right command to type from a bash shell so that i can 1) Check the version of my cent os lsb_release -a 2) Check all the open ports (tcp and udp) on my machine netstat -atulp (man netstat) 3) Open a

Re: [CentOS] Cents OS from Bash Shell

2013-04-25 Thread Mike Burger
I'm all for helping people with their questions and problems...heaven knows, I've needed my share of help with things, but I don't usually ask until I've performed some level of research. Having said that, I hope that you will all accept my apologies for any interpreted attitude in what follows.

Re: [CentOS] Cents OS from Bash Shell

2013-04-25 Thread Mike Burger
On Thu, 2013-04-25 at 13:04 +0100, Adekoya Adekunle wrote: I want to know the right command to type from a bash shell so that i can 1) Check the version of my cent os lsb_release -a From the question, he wants to know the version of CentOS, not the LSB info. rpm -q centos-release --

Re: [CentOS] Cents OS from Bash Shell

2013-04-25 Thread Dave Cross
On 25 April 2013 13:30, Mike Burger mbur...@bubbanfriends.org wrote: On Thu, 2013-04-25 at 13:04 +0100, Adekoya Adekunle wrote: I want to know the right command to type from a bash shell so that i can 1) Check the version of my cent os lsb_release -a From the question, he wants to

Re: [CentOS] Cents OS from Bash Shell

2013-04-25 Thread Mike Burger
On 25 April 2013 13:30, Mike Burger mbur...@bubbanfriends.org wrote: On Thu, 2013-04-25 at 13:04 +0100, Adekoya Adekunle wrote: I want to know the right command to type from a bash shell so that i can 1) Check the version of my cent os lsb_release -a From the question, he wants

Re: [CentOS] Cents OS from Bash Shell

2013-04-25 Thread John R. Dennison
On Thu, Apr 25, 2013 at 01:39:29PM +0100, Dave Cross wrote: lsb_release gives the version of CentOS. $ lsb_release -a LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: CentOS Description: CentOS

Re: [CentOS] Cents OS from Bash Shell

2013-04-25 Thread Phil Dobbin
On 04/25/2013 01:39 PM, Dave Cross wrote: On 25 April 2013 13:30, Mike Burger mbur...@bubbanfriends.org wrote: On Thu, 2013-04-25 at 13:04 +0100, Adekoya Adekunle wrote: I want to know the right command to type from a bash shell so that i can 1) Check the version of my cent os

Re: [CentOS] Cents OS from Bash Shell

2013-04-25 Thread Phil Dobbin
On 04/26/2013 12:40 AM, Reindl Harald wrote: Am 26.04.2013 01:35, schrieb Phil Dobbin: How odd. On my 64-bit CentOS 6.3, 'lsb_release -a' returns: 'bash: lsb_release: command not found' Works on Debian 6.0.5 Ubuntu 12.04.2 12.10. The CentOS distro is a cloud server image if that

Re: [CentOS] Cents OS from Bash Shell

2013-04-25 Thread Cliff Pratt
re point 3, do you have 'telnetd' installed. You should probably use ssh unless you have a good reason not to. On Fri, Apr 26, 2013 at 12:04 AM, Adekoya Adekunle adekunleadek...@gmail.com wrote: I want to know the right command to type from a bash shell so that i can 1) Check the version

Re: [CentOS] Cents OS from Bash Shell

2013-04-25 Thread Arun Khan
On Thu, Apr 25, 2013 at 6:00 PM, Mike Burger mbur...@bubbanfriends.org wrote: On Thu, 2013-04-25 at 13:04 +0100, Adekoya Adekunle wrote: I want to know the right command to type from a bash shell so that i can 1) Check the version of my cent os lsb_release -a I believe you need to install