Linux Usage Summary

Source: Internet
Author: User


Scp-r-P 22/srv/ox/demo [email protected]:/home/ps/Local demo directory file upload to PS

Cp-r/home/ps/demo srv/ox/copy function

New file:Touch setenv.sh

New folder:mkdir setenv

Unzip the file to /usr/local

2, in the /usr/local file directory unzip Apache-tomcat-9.0.2-windows-x86.zip

/usr/local


Rename : Command mvapache-tomcat-9.0.2 tomcat9 change apache-tomcat-9.0.2 name to tomcat9

chmod 777/usr/local/tomcat9/bin/catalina.sh Permissions operation

Delete command Rm-rf app.txt  

Execute commands directly nano/usr/local/tomcat9/bin/phty.txt Edit View file contents

The statements written today:

Delete

Delete from table where id=1;

Update:

Two table UPDATE statements:
Update Product_template t0 set name= (select Name_template from product_product where product_tmpl_id=t0.id);


Update Product_template t0 set bm= (select Name_template from product_product where product_tmpl_id=t0.id limit 1), name= (select Name_template from product_product where product_tmpl_id=t0.id limit 1);


Linux Usage Summary

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.