split -l 1000000 catalina.out prefi_1
@echo off echo 正在清除系统垃圾文件,请稍等...... del /f /s /q %systemdrive%\*.tmp del /f /s /q %systemd…
方法一:find / -type d -exec chmod 777 {} \; 方法二:find / -type d | xargs chmod 777;
#源文件路径 $workPath = "D:\d" #目标文件路径 $destPath = "D:\a" #遍历目录 Get-ChildItem $workPath | ForEa…
#!/bin/bash #符号#!脚步执行的程序 #符号#用于解释 #用chmod +x shellfile ,命令让文件有可执行权限,shellfile为脚本名 #变量规则: #…
#该函数对CDN目录进行处理 DEAL_CDN() { cdnChangeLog=$fabuLog/changeLog.cdn apacheNeedYuiFileList=$fab…
mount -t /要挂载的设备 /mnt/usb <==挂在到/mnt/usb 将光盘挂载到/mnt/cdrom的命令: mount /dev/cdrom /mnt/cdr…
DIM objShell set objShell=wscript.createObject("wscript.shell") iReturn=objShell.Run("cmd.…
#!/bin/sh WORK_HOME=`pwd` filesPath=$WORK_HOME"/files" #判断files目录是否存在,如果不存在提示并退出程序 if [ ! …
#! /bin/bash # # #初始化Centos系统 # # # function echo_success() { echo -e "\e[32m$1\e[0m" } fu…
#!/bin/bash usage() { cat << EOF usage: $0 options This script set ownership for all…
### by 3haku.net function saferm() { ops_array=($*) if [[ -z $1 ]] ;then echo 'Missing Arg…
字符编码转换GBK to UTF-8 / UTF-8 to GBK