如果执行命令#chmod 746 fil

题目

如果执行命令#chmod 746 file.txt,那么该文件的权限是()。

  • A、rwxr--rw-
  • B、rw-r--r--
  • C、--xr—rwx
  • D、rwxr--r—
参考答案和解析
正确答案:A
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

发送应用程序可以通过设置下列哪两个标志来使TCP进程在传送缓冲器填满前发送数据( )

A、FIL和PSH

B、PSH和URG

C、UGR和FIN

D、FIL和FIN


正确答案:B

第2题:

Howcanpermissionsbesetupon/tmpsothatausercannotdeleteanotheruser’sfiles?()

A.chmod+s/tmp

B.chmod775/tmp

C.chmod1777/tmp

D.chmod4755/tmp


参考答案:C

第3题:

要想使任何人对文件commfile拥有“可读、可写、可执行”的全部权利,可通过()命令实现。()

A. chmod ugo+rwx commfile

B. chmod 751 commfile

C. chmod ugo-rwx commfile

D. chmod 777 commfile


参考答案:A, C

第4题:

●在Linux中,可以使用命令(63)来给test文件赋予执行权限。

(63)

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

第5题:

以读写方式打开一个二进制文件fil2,fopen函数的正确的调用方式是:()

A、FILE *FP; FP=fopen("fil2","r");

B、FILE *FP; FP=fopen("fil2","rb");

C、FILE *FP; FP=fopen("fil2","wb+");

D、FILE *FP; FP=fopen("fil2","rb+");


参考答案CD

第6题:

Which command will configure a directory /commonfiles so that a user cannot delete files owned by other users in the same group?()

A.chmod +S /commonfiles

B.chmod 4775 /commonfiles

C.chmod 1777 /commonfiles

D.chmod -orgx /commonfiles


参考答案:C

第7题:

Asystemadministratorwantstogivefullread/write/excuteaccesstotheownerandgroupofthe/stuffdirectoryandallsubdirectoriesandfiles,butonlyallowread/executeforothers.Whatcommandwouldtheadministratoruse?()

A.chmod-R775/stuff

B.chmod-h002/stuff

C.chmod-R577/stuff

D.chmodug+rwx,o+rx/stuff


参考答案:A

第8题:

一个文件对不同的用户可以具有读、写、执行权。如果希望对同组用户赋予全部权,请问下面的描述哪些是正确的:()

A.chmod777文件名

B.chmod676文件名

C.chmod+x文件名

D.以上都不对


参考答案:A, B

第9题:

为了修改文件test的许可模式,使其文件属主具有读、写和运行的权限,组和其他用户可以读和运行,可以采用的方法( )。

A、chmod 755 test

B、chmod 700 test

C、chmod ux+rwx test

D、chmod g-w test


参考答案:A

第10题:

Linux中,为文件test.txt添加一个"其他用户可执行"权限时,使用()。

  • A、chmod u+xtest.txt
  • B、chmod a+xtest.txt
  • C、chmod g+xtest.txt
  • D、chmod o+xtest.txt

正确答案:D

更多相关问题