/proc/sysrq-trigger该文件能做些什么事情呢? # 立即重新启动计算机 (Reboots the kernel without first unmounting file systems or syncing disks attached to the system)echo "b" > /proc/sysrq-trigger # 立即关闭计算机(shuts off the system)echo "o" > /proc/sysrq-tr
批量创建文件 int cont = 1; String s = "E:\\学习资料\\Java笔记-"; while(cont<100){ File f = new File(s+cont+".txt"); if(!f.exists()){ f.createNewFile(); } cont++; } 批量修改文件名 File file = new File("E:\\学习资料"); String sf = file.getAbsolute