Linux deployment commands

Source: Internet
Author: User

Linux deployment commands

# View tomcat Processes
Ps-ef | grep tomcat

# Killing process commands
Kill-9 process no.

# View log information in real time
Tail-f catalina. out


Instance: ln-s/home/gamestat

Soft links in linux are similar to shortcuts in windows.

In ln-s a B, a is the source file, and B is the link file name. Its function is to access the B Directory, which is actually the link to the directory.

As shown in the preceding example, when we run the command cd/gamestat/, it actually enters/home/gamestat/

It is worth noting that when executing the command, it should be that directory a has been created and directory B has not been created. I first Created directory B, and the result was incorrect.

Delete soft link: rm-rf B, not rm-rf B/

# How to view processes occupied by the system in win
1. Enter CMD in "run"
2. Enter netstat-ano in the startup window to view the usage of all ports and write down the PID of the program that occupies port 8005.
3. Open "Task Manager", click "View" in the menu bar, click "Select column", and select "PID (process identifier )"
4. Find the corresponding PID value in the process and end the process.

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.