Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Thanks for your reply...As you may be know I am new on RH Would you plz make me clear about Nmap or twantrd like that.Actually I want to see whice type of command i can use to see all port of services and how i can block a service port or how I can fix any service port...
1. Disable the service altogether. This is recommended. If you don't need a specific service you shouldn't be running it at all, period. Read the Redhat docs on how to do this the Redhat way, I know Redhat provides tools for configuring which services should be started on boot (or on request through inetd/xinetd).
2. Block access to the port using either a firewall (hardware or software doesn't really matter). Linux comes with iptables/netfilter that is an excellent software firewall (and it's a lot more too).
To scan the commonly used ports on your system do nmap localhost. Many of the advanced nmap options require you to run it as root.
If you just want to see open ports on your own machine try "netstat -tulanp"(as root), for blocking them look for info on iptables(or ipchains, not sure about rh7.2), try redhat-config-services if you want to disable them from starting on boot.