随笔分类 - Linux
摘要:命令 [root@*** ~]# lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per
阅读全文
摘要:判断权限 path="/home/test" if [ ! -x "$path"]; then mkdir "$path" fi 判断目录是否存在 path="/home/test" if [ ! -d "$path"]; then mkdir "$path" fi 判断文件是否存在 file="/
阅读全文

浙公网安备 33010602011771号