2021-08-17发表2026-04-29更新学习 / CMD几秒读完 (大约61个字)CMD常用命令1、停止占用端口的应用查找到占用端口的进程号PID1netstat -ano | findstr 80 假设输出: 1TCP 0.0.0.0:8501 0.0.0.0:0 LISTENING 2692 停止进程1taskkill /F /PID 2692 2、修改文件名称命令12ren c.txt cc.txtren d.txt dd.txt
2021-04-25发表2026-04-29更新学习 / Shell几秒读完 (大约74个字)Shell命令记录1、shell结果赋值变量 pwd 的输出被赋给变量 currPath,打印currPath,创建bin目录 123currPath=$(pwd) 或 $ currPath=`pwd`echo $currPathmkdir $currPath/bin 2、根据pid查询Jar位置 1、使用命令查询pid 2、根据pid查询jar路径 12ps -ef|grep javall /proc/$pid/cwd
2021-04-24发表2026-03-28更新学习 / JVM8 分钟读完 (大约1200个字)StringTable学习习题一(JDK1.8) public class TestStringTable { //运行环境JDK1.8 public static void main(String[] args) { String s1 = "a"; String s2 = "b"; String s3 = &quo...阅读更多