01 2020 档案
摘要:方法1:while循环中执行效率最高,最常用的方法。 function while_read_LINE_bottm(){ While read LINE do echo $LINE done < $FILENAME } #!/bin/bash while read line do echo $lin
阅读全文
摘要:#!/bin/bash ssh root@192.168.1.102 << remotessh #首先要ssh上去,ssh的配置可以点击此链接看,注意这里的<< remotessh #从这里开始都是在远程机器上执行命令啦 cd /tmp/test/ rm -f test.txt cat test.l
阅读全文
摘要:第一步:明确查看具体线程PID 第二步:使用jstack命令 jstack Pid > jstack_info.txt #查询信息输出TXT中
阅读全文
摘要:第一步:在本地机器上使用ssh-keygen产生公钥私钥对 ssh-keygen 第二步:用ssh-copy-id将公钥复制到远程机器中 ssh-copy-id -i .ssh/id_rsa.pub 用户名字@192.168.x.xxx 第三步: 登录到远程机器不用输入密码 ssh 用户名字@192
阅读全文
摘要:byte b = 35; String s=Byte.toString(b); String s=b + ""; String s=new String(new byte[] {b});
阅读全文

浙公网安备 33010602011771号