单选题Which single compound ’chmod’ command would achieve the same result as these four commands?()A chmod go+w mydirB chmod go-w mydirC chmod go-w-x mydirD chmod go-w+x mydir

题目
单选题
Which single compound ’chmod’ command would achieve the same result as these four commands?()
A

chmod go+w mydir

B

chmod go-w mydir

C

chmod go-w-x mydir

D

chmod go-w+x mydir


相似考题
更多“单选题Which single compound ’chmod’ command would achieve the same result as these four commands?()A chmod go+w mydirB chmod go-w mydirC chmod go-w-x mydirD chmod go-w+x mydir”相关问题
  • 第1题:

    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

  • 第2题:

    An application owner wants to grant write permission to all users for all the files and directories in the application directory. Which of the following is the correct command?()

    A. chmod -R u+rw /application

    B. chmod -r u+rw /application

    C. chmod -R o+rw /application

    D. chmod -r o+rw /application


    参考答案:C

  • 第3题:

    ●在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

  • 第4题:

    下面()命令可以改变test目录中所有文件的权限。

    • A、$chmod–a755 test
    • B、$chmod–R755 test
    • C、$chmod–X755 test
    • D、chmod–o755test

    正确答案:B

  • 第5题:

    用下列哪句语句给/opt/package/scripts目录赋权限()。

    • A、chmod -R 337
    • B、chmod -R 257
    • C、chmod -R 777
    • D、chmod -R 256

    正确答案:C

  • 第6题:

    A system administrator wants to give full read/write/excute access to the owner and group of the /stuff directory and all subdirectories and files, but only allow read/execute for others. What command would the administrator use?()

    • A、chmod -R 775 /stuff
    • B、chmod -h 002 /stuff
    • C、chmod -R 577 /stuff
    • D、chmod ug+rwx,o+rx /stuff

    正确答案:A

  • 第7题:

    Solaris中,将文件aaa赋予属主全权,而赋予其他人可执行权的命令为

    • A、chmod 111 aaa
    • B、chmod 777 aaa
    • C、chmod 117 aaa
    • D、chmod 711 aaa

    正确答案:D

  • 第8题:

    如何给test这个文件加上可执行权限()。

    • A、chmod+xtest
    • B、chmod-xtest
    • C、chmod400test
    • D、chmod600test

    正确答案:A

  • 第9题:

    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

  • 第10题:

    An application owner wants to grant write permission to all users for all the files and directories in the application directory. Which of the following is the correct command?()

    • A、chmod -R u+rw /application
    • B、chmod -r u+rw /application
    • C、chmod -R o+rw /application
    • D、chmod -r o+rw /application

    正确答案:C

  • 第11题:

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

    • A、chmod 755 test
    • B、chmod 700 test
    • C、chmod ux+rwx test
    • D、chmod g-w test

    正确答案:A

  • 第12题:

    单选题
    Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?()
    A

     chmod 557 /bin/foo

    B

     chmod o+rwx.a+rx/bin/foo

    C

     chown 557 /bin/foo

    D

     chmod 755/bin/foo


    正确答案: D
    解析: 暂无解析

  • 第13题:

    The system administrator has requested that all setuid/setgid bits be removed from executables in application filesystem. Which command will achieve this?()

    A. chmod -R o-s /application

    B. chmod -R ug-s /application

    C. chmod -R -s -o /application

    D. chmod -R -s -ug /application


    参考答案:B

  • 第14题:

    Howshouldread,writeandexecutepermissionsfor‘group’and‘other’begrantedtoallfilesanddirectorieswithinthe/appfilesystem?()

    A.chmod-R677/app

    B.chmod-R664/app

    C.chmod-r677/app

    D.chmod-r664/app


    参考答案:A

  • 第15题:

    在Linux中可以使用命令( )针对文件newfiles.txt为所有用户添加执行权限。

    A.chmod-x newfiles.txt
    B.chmod+x newfiles.txt
    C.chmod-w newfiles.txt
    D.chmod+w newfiles.txt

    答案:B
    解析:
    Mode:权限设定字串,格式为[ugoa...][[+-=][rwxX]...][,...],其中u表示该文档的拥有者,g表示与该文档的拥有者同一个组(group)者,o表示其他的人,a表示所有的用户。如图17-1-1所示,“+”表示增加权限、“-”表示取消权限、“=”表示直接设定权限。“r”表示可读取,“w”表示可写入,“x”表示可执行,“x”表示只有当该文档是个子目录或者已经被设定为可执行。此外,chmod也可以用数字来表示权限。

  • 第16题:

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

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

    正确答案:D

  • 第17题:

    How can permissions be set up on /tmp so that one user in a group cannot delete another user’s files in that same group()

    • A、chmod +s /tmp
    • B、chmod 755 /tmp
    • C、chmod 1777 /tmp
    • D、chmod 4755 /tmp

    正确答案:C

  • 第18题:

    如何给test这个文件加上可执行权限()

    • A、chmod +x test
    • B、chmod -x test
    • C、chmod 400 test
    • D、chmod 600 test

    正确答案:A

  • 第19题:

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

    • A、chmod ugo+rwx commfile
    • B、chmod 751 commfile
    • C、chmod ugo-rwx commfile
    • D、chmod 777 commfile

    正确答案:A,C

  • 第20题:

    Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?()

    • A、 chmod 557 /bin/foo
    • B、 chmod o+rwx.a+rx/bin/foo
    • C、 chown 557 /bin/foo
    • D、 chmod 755/bin/foo

    正确答案:D

  • 第21题:

    Which single compound ’chmod’ command would achieve the same result as these four commands?() 

    • A、chmod go+w mydir
    • B、chmod go-w mydir
    • C、chmod go-w-x mydir
    • D、chmod go-w+x mydir

    正确答案:D

  • 第22题:

    How should read, write and execute permissions for ‘group’ and ‘other’ be granted to all files and directories within the /app filesystem?()

    • A、chmod -R 677 /app
    • B、chmod -R 664 /app
    • C、chmod -r 677 /app
    • D、chmod -r 664 /app

    正确答案:A

  • 第23题:

    The system administrator has requested that all setuid/setgid bits be removed from executables in application filesystem. Which command will achieve this?()

    • A、chmod -R o-s /application
    • B、chmod -R ug-s /application
    • C、chmod -R -s -o /application
    • D、chmod -R -s -ug /application

    正确答案:B

  • 第24题:

    单选题
    Which single compound ’chmod’ command would achieve the same result as these four commands?()
    A

    chmod go+w mydir

    B

    chmod go-w mydir

    C

    chmod go-w-x mydir

    D

    chmod go-w+x mydir


    正确答案: A
    解析: 暂无解析