12 useful commands from a Linux server administrator

Source: Internet
Author: User

  • Ifconfig: You will use the Ifconfig command when modifying a network interface that is already in the kernel. This command is commonly used for system tuning and debugging, but it can also be used to set up interfaces during the boot process.

  • Netstat: For Linux users, this is a high-level command for displaying information about the network. It includes routing tables, network connections, spoofing connections, interface statistics and other rich information.

  • Nslookup: You can use this command when you need to find information about Web services. It can help you find the name server information that is used to query the DNS domain.

  • The Dig:dig tool is used to request a DNS name server. This tool is the best choice if you want to find the host address, mail exchange, name server, and other relevant information. You can use this command on Linux and Mac OS X operating systems.

  • The Uptime:uptime command is used to verify what happens when the server is unattended. This command is especially useful when you need to sit in front of the server and look for errors.

  • Wall: This command is used to send messages to all logged-in users. You can send messages only to users whose message permissions have been set to ' yes '. The message is given as a parameter to the Wall command.

  • MESG: The user can use the ' write ' command to send you a message. But as a server administrator, you can use the MESG command to determine whether they are able to use the write command. You can choose ' n ' and ' Y ', respectively, to control not popping or popping messages on the screen.

  • Write: If the status of the ' MESG ' command for a user is set to ' Y ', then the Write command allows you to send a message to that user.

  • Talk: When the "message" above is not enough, use the Speak command to "session" with the logged-on user.

  • W: This command is a combination of the uptime and the WHO command, which shows the result as if the two commands were executed successively.

  • Rename: The rename command comes in handy when you need to rename a specific file. This command can be used to batch rename multiple files by matching substitution.

  • Top: This command can show the processes running on the CPU. The command automatically refreshes and continuously displays the process until you stop it using the interrupt command.

12 useful commands from a Linux server 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.