题目内容

文件exerl的访问权限为rw-r--r-,现要增加所有者用户的执行权限和同组用户的写权限,下列命令正确的是( )。

A. chomd a+x g+ w exerl
B. chmod 765 exerl
C. chmod o+x exerl
D. chmod g+w exerl

查看答案
更多问题

一个文件的权限-rw-rw-r--,这个文件所有者的权限是( )。

A. read-only
B. write
C. read-write
D. read-write-execute

从以下四个选项中,选出能成功将标准错误重定向到file文件中的选项。

A. gcc hello.c 1 B. gcc hello.c 2 C. gcc hello.c 1>file
D. gcc hello.c 2>>file

若要将如下命令合并为一个命令:ls -l /etc >tmp.txtgrep init < tmp.txt可使用哪个符号连接?

A. |
B. ||
C. &
D. @

对文件有读权限和执行权限的用户可对该文件执行删除操作。

A. 对
B. 错

答案查题题库