1. 1、在/use目录中新建一个目录名称为:mytest。并在mytest目录中新建文件net.txt
设置文件的属性为文件属组(u)增加执行权限,文件属主同组用户(g)增加写入权限
其他用户(o)删除读权限。
cd usr
mkdir mytext
touch net.txt
chmod u+x net.txt
chmod g+w net.txt
chmod o-r net.txt
2. 2.将mytest目录归档,将其压缩成gz格式,列出归档文件里的内容。
tar zcf mytext.tar.gz /mytext
3.find ./ -size +20k
find ./ -name lvm*
————————————————