cd~
mkdir test
touch book.txt
cp book.txt /test/book1.txt
chmod 740 book.txt
useradd openEuler
groupadd tongxin
chown openEuler:tongxin ~/book1.txt
mv ~/test ~/share
chmod 777 share
rm -rf~/share/book1.txt
reboot
本文详细展示了在Linux环境下执行的一系列命令,包括创建目录、文件操作、用户和组管理、权限设置以及重启系统,展示了基础的IT技术实践。
cd~
mkdir test
touch book.txt
cp book.txt /test/book1.txt
chmod 740 book.txt
useradd openEuler
groupadd tongxin
chown openEuler:tongxin ~/book1.txt
mv ~/test ~/share
chmod 777 share
rm -rf~/share/book1.txt
reboot
1617

被折叠的 条评论
为什么被折叠?