Linux Basic command, not yet to be continued

Source: Internet
Author: User
1, CD enter the system root CD/Enter the current user's home directory CD ~ Go to the top level directory CD of the current directory. Jump to the specified directory, starting from the root directory cd/apps/2, pwd View the full path of the current working directory 3,tail-f test.log display the file's top-most content on the screen, and constantly refresh 4,touch test.txt Create a new file that does not exist 5,mkdir Create a folder rmdir remove a folder rm-f Force delete MV Move file cp Copy file 6,ls list the file list in the current directory ls-l include file permissions 7,file file name see what type of file is 8,md5summd5sum test.log meter Calculates and verifies the MD5 value of the file 9, open. Opens the current directory, chmod 777 *.sh modify file properties One, VI, vimi, switch to input mode ESC, and then: wq! Save exit Q Exit File 12,top start Task Manager 13,lsof-i: port number Check See port occupancy kill-9 pid kill process, Ps-aux |  grep Tomcat (if prompted without X-users, take-remove) view tomcat for process number 15, view all processes and port usage. Telnet 192.168.0.5 Space Port number Connect Redisvi/etc/profile (System level) VI/ROOT/.BASHRC (User level) modified after logoff is effective 18, compression, decompression zip-q-R VIPFILE.ZIP/USERS/VIP/VIP document/pptunzip vipfile.zip19, JPS is a gadget provided by the JDK to view the current Java process. Jps-ljps-v Output JVM Parameters

Linux Basic command, not yet to be continued

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.