Linux network administrator

Source: Internet
Author: User

1. View all network services that are currently open

an order; netstat.

-A (All) displays all options and does not show listen related by default
-T (TCP) displays only TCP-related options
-U (UDP) displays only UDP-related options
-N refuses to display aliases, showing all numbers converted to numbers.
-l list only service status in Listen (listening)

-P Displays the program name (process ID, and file name) that established the associated link
-R display routing information, routing table
-e display extended information, such as UID, etc.

Netstat-tulnp

More important files in 2.linux:

(1) configuration file

The service name in Linux is configured in the file with the port number:/etc/services.

The source file for DNS in the Linux local DNS server:/etc/resolv.conf configuration file.

Host file:/etc/host also:

(2)

3. Common Operation Instructions

Software operation:

Yum list * Fuzzy query, show all the optional software, use the instructions for precise operation

Yum Install XXXX

Yum Update XXXX

Yum Remove XXXX

Common exits:

Exit, quit bye

Endl

Linux network administrator

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.