[Linux Notes] I used what I learned at work for the first time.

Source: Internet
Author: User
Today, I use Linux commands.
Ifconfig
Today, people from Huawei are switching to information machines and Lenovo servers. The configuration is not high and the machine style is great. The system is in the English version of opensuse10. Because neither technician is familiar with this machine. Therefore, no IP address is configured. I recorded the command. It is used. A sense of accomplishment is good.

Ifconfig eth0 Inet 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.1
INet is followed by an IP address, netm is followed by a subnet mask, and broa is followed by a gateway.

Detailed Help:
ifconfig [-A] [-V] [-S] [ ]

]
[add [/< prefixlen>]
[del [/ ]
[[-] broadcast [ ] [[-] pointopoint [< address>]
[netmask ] [dstaddr ] [tunnel ]
[outfill ] [keepalive ]
[HW ] [metric ] [MTU ]
[[-] trailers] [[-] ARP] [[-] allmulti]
[multicast] [[-] promisc]
[mem_start ] [io_addr ] [IRQ ] [Media ]
[txqueuelen ]
[[-] dynamic]
[up | down]...

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.