摘要:
[BEGIN] 2020/11/10 16:19:37 root@1234567890:~# rm -rf /* rm: cannot remove ‘/bin’: Device or resource busy rm: cannot remove ‘/boot’: Device or resour 阅读全文
摘要:
选取两行用不同的颜色,再用格式刷选择不同颜色的两行 用鼠标选择需要的其他行 阅读全文
摘要:
public class Jieti{ public static void main(String[] str){ for(int i = 120;i < 100000;i++){ if((i%2==1)&&(i%3==2)&&(i%5==4)&&(i%6==5)&&(i%7==0)){ Syst 阅读全文
摘要:
#!/usr/bin/env python # -*- coding: utf-8 -*- def getIP(count=1000, startIP='1.1.1.1'): a1 = int(startIP.split('.')[0]) a2 = int(startIP.split('.')[1] 阅读全文
摘要:
linux下通过进程名查看其占用端口: 1、先查看进程pid ps -ef | grep 进程名 2、通过pid查看占用端口 netstat -nap | grep 进程pid linux通过端口查看进程: netstat -nap | grep 端口号 jps命令的使用方法 jps(Java Vi 阅读全文
摘要:
du -k:单位为KB du -m :单位为MB du -h :单位为KB\GB\MB 阅读全文
摘要:
https://www.jianshu.com/p/cdf4cbdb2d98 watch是一个非常实用的命,基本所有的Linux发行版都带有这个小工具,如同名字一样,watch可以帮你监测一个命令的运行结果,省的你一遍遍的手动运行,在Linux下,watch是周期性的执行下个程序,并全屏显示执行的结 阅读全文
摘要:
安装get yum install -y wget 文件传输过程 参数: -c, --continue 断点续传下载文件。 --progress=TYPE 选择进度条类型。 阅读全文