摘要: 修改文件目录权限 chmod​ chmod u+x b.txt chmod 777 a.txt 修改文件的所有者和所属组 ​ 修改所有者chown beifeng a.txt 修改所属组chgrp beifeng a.txt 修改所有者和所属组chown root:root a.txt 阅读全文
posted @ 2019-08-29 12:26 一切简单化 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 查看进程 ps -aux (看的全面,信息也全面) 停止进程 Kill -9 java或者Kill -9 7911 查看程序端口占用情况 查看所有进程端口 netstat -ntlp 或者 netstat –apn 查看软件占用进程端口 ps -aux | grep tomcat 阅读全文
posted @ 2019-08-29 12:25 一切简单化 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 分组条件:org_code select count(1) from qyt_company_info t GROUP BY t.org_code HAVING count(1)>1; 阅读全文
posted @ 2019-08-29 12:24 一切简单化 阅读(13845) 评论(0) 推荐(1) 编辑
摘要: tar 1、把文件解压到另一个文件夹里 tar -zxvf jdk-8u11.tar.gz -C /usr/java/ zip 1、压缩文件 zip a.zip demo1.apk (a.zip代表压缩后的文件名称,demo1.apk代表要压缩的文件) 压缩多个文件 zip a.zip demo1. 阅读全文
posted @ 2019-08-29 12:24 一切简单化 阅读(199) 评论(0) 推荐(0) 编辑
摘要: pox.xml: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId><!-- redis --> </dependency> 阅读全文
posted @ 2019-08-29 12:23 一切简单化 阅读(595) 评论(0) 推荐(0) 编辑