摘要:
ls 与 ll 的关系 [root@localhost test] alias ll alias ll='ls l color=auto' ll是ls l的别名 ls lhi: [root@localhost etc] ls lhi total 1.2M 33963054 rw r r . 1 ro 阅读全文
posted @ 2018-11-01 20:14
HzdWwZz"LJF
阅读(297)
评论(0)
推荐(0)
摘要:
先生成一堆文件用来删除 脚本: !/bin/bash This script is use to create files mkdir p /test cd $_ for n in ; do date s "2018/10/$n"; touch File_$(date +%F).txt; done 阅读全文
posted @ 2018-11-01 20:01
HzdWwZz"LJF
阅读(299)
评论(0)
推荐(0)
摘要:
cat n 会对空行计数 [root@localhost tmp] cat n test.txt 1 hello 2 hi 3 thank 4 you 5 6 nl 不对空行计数 [root@localhost tmp] nl test.txt 1 hello 2 hi 3 thank 4 you 阅读全文
posted @ 2018-11-01 19:45
HzdWwZz"LJF
阅读(868)
评论(0)
推荐(0)
摘要:
blkid 命令对查询设备上所采用文件系统类型进行查询。blkid主要用来对系统的块设备(包括交换分区)所使用的文件系统类型、LABEL、UUID等信息进行查询。要使用这个命令必须安装e2fsprogs软件包。 [root@localhost ~] blkid /dev/mapper/VolGrou 阅读全文
posted @ 2018-11-01 17:51
HzdWwZz"LJF
阅读(131)
评论(0)
推荐(0)

浙公网安备 33010602011771号