首页 > 试题广场 >

The chmod command (命令)

[单选题]

The chmod command (命令) is used to change the permission (许可) of file in Linux. To use it, you specify the desired permission setting and the file or files that you wish to modify. The permission settings are usually a series of bits. Which of the following bits present that the file’s owner may read, write, and execute the file, while all others may only read the file? .

  • 755
  • 744
  • 644
  • 611

chmod 命令,改写文件的读写许可设置

语法为: chmod abc file

其中 a,b,c 各为一个数字,分别表示 User, Group, Other 的权限

r = 4, w = 2, x = 1

所以,

a = 4+2+1 = 7

b = 4

c = 4

发表于 2017-05-17 01:14:49 回复(0)
111 100 100 转换成8进制就是744
发表于 2018-04-03 16:28:47 回复(0)