Some basic Linux applications

Source: Internet
Author: User
A. view Port details: netstat-anltpB. view the disk capacity status of the installed file system df-lhC. displays the directory or file size du-sh/kokoD. modify date time date-dmm/dd/yy: date-d10/17/2008 date-shh: mm: ss...

A. view the port details: netstat-anltp

B. view the disk capacity status of the installed file system
Df-lh

C. display the directory or file size
Du-sh/koko

D. modify the date and time
Date-d mm/dd/yy: date-d 10/17/2008
Date-s hh: mm: ss: date-s 10:12:13

E. View processes
Ps-ef | grep mysql
Or
Ps aux | grep mysql

F. killing processes
Killall-9 (process ID or process name), for example, killall-9 nginx


Author: Magic World"

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.