linux命令:在尀home目录下创建文件abc.txt,让文件主和同组用户具有读、写、执行的权

,其他用户只读。
2025-04-15 01:54:35
推荐回答(2个)
回答1:

echo "test file" >> /home/abc.txt
chmod 770 /home/abc.txt

楼主给分吧

回答2:

cd /home
touch abc.txt
chmod ug+x abc.txt