摘要: [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 阅读全文
posted @ 2020-11-10 16:41 dmwc 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 选取两行用不同的颜色,再用格式刷选择不同颜色的两行 用鼠标选择需要的其他行 阅读全文
posted @ 2020-09-17 22:40 dmwc 阅读(707) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-09-17 22:39 dmwc 阅读(221) 评论(0) 推荐(0) 编辑
摘要: #!/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] 阅读全文
posted @ 2020-09-17 19:04 dmwc 阅读(339) 评论(0) 推荐(0) 编辑
摘要: linux下通过进程名查看其占用端口: 1、先查看进程pid ps -ef | grep 进程名 2、通过pid查看占用端口 netstat -nap | grep 进程pid linux通过端口查看进程: netstat -nap | grep 端口号 jps命令的使用方法 jps(Java Vi 阅读全文
posted @ 2020-09-03 20:01 dmwc 阅读(365) 评论(0) 推荐(0) 编辑
摘要: du -k:单位为KB du -m :单位为MB du -h :单位为KB\GB\MB 阅读全文
posted @ 2020-08-22 20:29 dmwc 阅读(922) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/cdf4cbdb2d98 watch是一个非常实用的命,基本所有的Linux发行版都带有这个小工具,如同名字一样,watch可以帮你监测一个命令的运行结果,省的你一遍遍的手动运行,在Linux下,watch是周期性的执行下个程序,并全屏显示执行的结 阅读全文
posted @ 2020-08-20 19:59 dmwc 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 安装get yum install -y wget 文件传输过程 参数: -c, --continue 断点续传下载文件。 --progress=TYPE 选择进度条类型。 阅读全文
posted @ 2020-08-20 19:51 dmwc 阅读(242) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/daizhongxing/p/12251672.html [ { "$id": "1", "$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host 阅读全文
posted @ 2020-08-19 20:34 dmwc 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 原因:提示说是文件名太长,无法签出工作树警告:克隆成功,但签出失败。 解决方法: cmd 管理员权限执行git config --system core.longpaths true 阅读全文
posted @ 2020-08-19 20:00 dmwc 阅读(4440) 评论(0) 推荐(0) 编辑