Linux Cainiao must also know several basic ubuntu commands

Source: Internet
Author: User
Linux Cainiao must also know several basic ubuntu commands 1: sudo should be one of the most common commands in linux, because you can temporarily obtain root permissions even if you are not a root user, for example, install and uninstall, modify the configuration of various services, and so on, so remember this 2: ap... linux Cainiao must also know several basic ubuntu commands 1: sudo should be one of the most common commands in linux, because you can temporarily obtain root permissions even if you are not a root user, for example, installing and uninstalling, changing the configuration of various services, and so on, remember that this 2: apt-get: apt is a software management tool under ubuntu, file installation and uninstallation, for example, sudo apt-get install zhcon sudo apt-get remove zhcon3: cd: is the same as cd in cmd in wwindows. it is used to enter a path, for example: cd/etc4: ls: displays the file 5: grep filtering command 6: ps in this directory to display the process, and-le is to display the information of all processes, often used with grep. for example, I installed wine on ubuntu and qq on wine, which often gets stuck, this command is useful at this time. First, find the wine process pidps-le | grep wine and then kill the process. 2518 25287: check the kernel version, uname-a has requirements on the Linux kernel version because it is willing to write software. for example, the nw336v2 Nic I bought has a maximum driver support of 2.6 kernel while the ubuntu 12.04 kernel has reached 3.2, of course, 8: shutdown command: sometimes gnome is dead, you have to go to the character interface to restart or shut down. There are a lot of commands for shutdown -- help. if it is too troublesome, use the poweroff command. sudo poweroff is neat and neat. 9: run the ifconfig command to check the network connection status, this command will list all your current network connection conditions. 10: If you only want to view and edit a text command, cat is used for the longest time, however, if you want to edit it, you need to use other tools. if you have installed gedit or gvim on the GUI, we strongly recommend that you install it, search in the attachment of the software center) then you can use sudo gedit/etc/testsudo gvim/etc/test to edit files of non-users because sudo is used.
Related Article

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.