Linux Common commands

Source: Internet
Author: User
Tags aop

CD: Enter a directory

TAB key: Auto-complete code

Copy: Just select the content you want to copy

Paste: Right mouse button

Project Package Backup: TAR-ZCVF ggpt (project name). tar.gz20170914 (date ID) ggpt (project name)

Decompression: Unzip-o/home/webs/ggpt.zip (The storage path of the extracted files)

View process: Ps-elf|grep ggpt (project name)

Kill process: Kill-9 process ID

View log files: grep--color=auto ' keywords ' (serial number, interface name, etc.)-NC 0 aop.log (log file name)

Exit: Ctrl + C

Displays the current working directory: PWD

Enter the Tomcat bin directory below:

Close Tomcat Command
./shutdown.sh

Start the Tomcat command
./startup.sh

Monitor the tail content of the log file for refresh: tail-100f aop.log

Linux Common commands

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.