测试一下Linux下面删除大量文件的效率。 首先建立50万个文件 $ test for i in $(seq 1 500000);do echo text >>$i.txt;done 1. rm删除 $ time rm -f * zsh: sure you want to delete all th ...
分类:
系统相关 时间:
2020-04-02 22:15:55
阅读次数:
109
APP INVENTOR:http://js.gzjkw.net/GAIC2017/user/getPrize.do https://acm.hunnu.edu.cn/App_Inventor_Qu/index.html ...
分类:
Web程序 时间:
2020-04-02 19:48:22
阅读次数:
85
for i in 17 18 19 20 21 22 23 24 25 26 do mkdir -p /mongodb/280$i/conf mkdir -p /mongodb/280$i/data mkdir -p /mongodb/280$i/log done ...
分类:
其他好文 时间:
2020-04-01 11:04:17
阅读次数:
54
How do I get notifications for commits to a repository? I just found out by accident that you can easily manage to achieve this: fork the project (if ...
分类:
其他好文 时间:
2020-03-31 18:46:41
阅读次数:
64
public static void main(String[] args) { // TODO Auto-generated method stub int i=1; int sum=0; do { sum+=i; i=i+2; } while(i<=100); System.out.printl ...
分类:
其他好文 时间:
2020-03-31 14:02:07
阅读次数:
63
一、流程控制概述 三大流程控制语句:顺序、选择、循环 1)顺序:从上往下依次执行 2)选择:if ,if-else,多重 if结构,嵌套if,switch,根据条件执行对应的内容 3)循环结构: -while循环 -do-while循环 -for循环 -break语句 -continue语句 二、w ...
分类:
编程语言 时间:
2020-03-31 12:23:17
阅读次数:
84
struts2配置常量有3种方式 1,在配置文件配置Struts2.xml里 例如:<constant name="struts.action.extension" value="do" /> 2,在struts.properties里配置 例如: 3,在web.xml里配置 例如: ...
分类:
其他好文 时间:
2020-03-30 19:24:58
阅读次数:
65
目录 Mysql数据类型数据库的操作SQL命令 表结构的创建SQL命令 表结构的修改SQL命令 表数据的增删改查where聚合函数group分组limit限制记录连接 Mysql数据类型 数值 整形 int tinyint 浮点型 float double 表示的精度不同 float 6位有效,do ...
分类:
数据库 时间:
2020-03-30 18:03:53
阅读次数:
93
批处理bat倒计时显示 新建批处理bat文件, .txt→.bat 改扩展名或txt里另存为.bat就可以 红色数字是倒数时间可自行修改,提醒汉子也可以自行修改 @echo offfor /l %%i in (12,-1,0) do (clsecho.echo.echo.echo. 倒计时数%%i后 ...
分类:
其他好文 时间:
2020-03-30 16:18:02
阅读次数:
470
1.分别使用for循环,while循环,do循环求1到100之间所有能被3整除的整数的和。(知识点:循环语句) package ssa; public class lianxi { public static void main(String[] args) { int sum=0; for(int ...
分类:
编程语言 时间:
2020-03-30 13:16:10
阅读次数:
111