A hodgepodge of Linux common service commands

Source: Internet
Author: User

A hodgepodge of Linux common service commands

# MV Sxyc_tintin/jiake//Modify directory Name/file name
# apt Install lrzsz//install LRZSZ support upload download
The SZ and RZ commands require server support, and if prompted without a command, you can install with Yum (for example, CentOS):
# SZ
-bash:sz:command not found
# yum Install Lrzsz-y

# sz index.html//Download file
# rz//Uploading Files
# Rz-y//upload Overlay
# rz-be//upload file to prevent "upload interrupt, upload file changes"
# ls-al//View Details (permissions)
# chmod u+x apache-tomcat-8.0.36.exe/Modify Permissions
# Ls-al
# zip
# apt Install zip//zip supports compression, decompression
# zip-p-R tomcat-8.0.zip Apache-tomcat-8.0.36.exe//compression
# ls
# Unzip Gps-web.zip//Unzip
Ps-ef|grep java//detect if Tomcat is running
Netstat-tunlp|grep 8080//view process status for the specified port number
# ps-ef|grep Java
# kill-9 7010//Kill Tomcat
#./startup.sh//Start Tomcat
#./shutdown.sh//Stop Tomcat
# clear
# pwd
# tail-f catalina.out//View Tomcat log-f real-time logs-n n the latest n rows of data
# tail-n Catalina.out
# ls
# RM-RF gps-web//Delete a directory

A hodgepodge of Linux common service commands

Related Article

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.