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...阅读更多