Common ubuntu commands

Source: Internet
Author: User
1. You can use sudo-sH to switch to the root account 2. Automatic Processing of hfiles is missing during compilation: sudoauto-aptrun./configure3. View the directory space: du-hs directory name 4. View Current memory usage: free-l5. Mount mounting ISO, with-oloop parameter 6, view the current process live: top7, view the process to open the file lsof-p8, view the mac address: arpingIP address 9, temporarily restart a Service 1. You can use sudo-sH to switch to the root account.
2. Automatic Processing of hfile missing during compilation: sudo auto-apt run./configure
3. View directory space: du-hs directory name
4. View the current memory usage: free-l
5. Mount and mount ISO. Use the-o loop parameter.
6. view the current process: top
7. view the lsof-p file opened by the process.
8. view the mac address: arping IP Address
9. Temporarily restart a service:/etc/init. d/service name restart
10. temporarily close a service:/etc/init. d/service name stop
11. special URI address:
* Computer: //-all mounted devices and networks
* Network: //-browse Available Networks
* Burn: // a data virtual directory for burning CDs/DVDs
* Smb: //-available windows/samba Network Resources
* X-nautilus-desktop: //-desktop project and icon
* File: //-local file
* Trash: //-local recycle bin directory
* Ftp: //-FTP folder
* Ssh: //-SSH folder
12. Detailed running information of the real program: trace-f-F-o outfile

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.