●在Linux中,可以使用命令()来给test文件赋予执行权限。
A: [root@root]#chmod -X test
B: [root@root]#chmod +x test
C: [root@root]#chmod -W test
D: [root@root]#chmod +w test
A: [root@root]#chmod -X test
B: [root@root]#chmod +x test
C: [root@root]#chmod -W test
D: [root@root]#chmod +w test
B
举一反三
- 需要设置某个文件test属于root用户,abc组,如下命令那个正确? A: chmod u+x test B: chown abc:root test C: chmod root:abc test D: chmod test:root abc
- 需要设置某个文件test属于root用户,abc组,如下命令那个正确? A: chmod u+x test B: chown abc:root test C: chmod root:abc test D: chmod test:root abc
- 在Linux中,可以使用命令()来给test文件赋予执行权限。 A: [root@root]#chmod-xtest B: [root@root]#chmod+xtest C: [root@root]#chmod-wtest D: [root@root]#chmod+wtest
- 如何在vi的环境中将样例文件的root在当前行中都替换为test? A: :1,2s/root/test/g B: :s/root/test C: :s/root/test/g D: :s/root/test/g
- 将当前目录下的test文件夹复制到/root目录下,并改名为dir() A: cp test /root/di B: cp -r test /root C: cp -p test /root/di D: cp -r test /root/di
内容
- 0
连接MySQL服务器的指令是?() A: mysqladmin -u root password test B: mysql -u root password test C: mysql -u root -p test D: mysql -u root -password test
- 1
设置/root/a.txt,文件所有者具有读写执行权限,同组有读写权限,其他账户无权限的命令是 。 A: chattr o+rw,g+rw /root/a.txt B: chmod 760 /root/a.txt C: chmod 640 /root/a.txt D: chattr 760 /root/a.txt
- 2
递归创建多级目录/root/ linux/test
- 3
修改jfedu.net文件夹所属的组为root,可以用以下哪个命令 A: chown root jfedu.net B: chgrp root jfedu.net C: chmod root jfedu.net D: groupadd root jfedu.net
- 4
将/root/tmp目录中所有的.sh文件的访问权限改为文件所有者具有可读可写可执行,与文件所有者同组用户具有可读可执行权限,其他只具有执行的权限 A: chown 751 /root/tmp/*.sh B: chmod 751 /root/tmp/*.sh C: chmod 777 /root/tmp/*.sh D: chmod 777 *.sh