摘要: 查找[a-c] 注意a顺序a,A,b,B,c [:lower:]代表a-z小写 [:upper:]代表A-Z大写 日期文件 touch `date -d '-1 day' +%F-%T `.log cp -a 注意普通用户权限,其他都可处理 lsblk与df与free: lsblk 查看磁盘分区情况 阅读全文
posted @ 2020-04-14 20:03 ldyaly 阅读(131) 评论(0) 推荐(0) 编辑
摘要: $()与 ` ` touch $(date +%F).log { } touch {1..3}.file touch{1..10..2}.file rm -rf .bash_history history -c history !编号 whatis 查命令是啥,然后用man命令 /etc/issue 阅读全文
posted @ 2020-04-13 23:31 ldyaly 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 琐碎小命令 hostname 看主机名 hostname -I 或 ip a 看ip地址 lscpu init 3 关闭图形界面 init 5 开启图形界面 free -h 看磁盘 uname -r 看内核 /etc/redhat-release 红帽系列查看版本 /etc/os-release u 阅读全文
posted @ 2020-04-12 23:23 ldyaly 阅读(141) 评论(0) 推荐(0) 编辑