[CentOS] Cents OS from Bash Shell

Earl Ramirez earlaramirez at gmail.com
Thu Apr 25 12:07:56 UTC 2013


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 specific port say port 3306 so that a  telnet request from a
> remote machiene can be accepted
man iptables 

>   4)  Disable the effect of 3 above in case I want to
> 
> Thanks in anticiaption of your kind responses to the questions above.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 


Kind Regards
Earl Ramirez
GPG Key: http://trinipino.com/PublicKey.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 316 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20130425/c97e0abb/attachment.sig>


More information about the CentOS mailing list