【单选题】用ls –al 命令列出下面的文件列表,( )文件是链接文件。
A. -rw-rw-rw- 2 hel-s users 56 Sep 09 11:05 hello
B. -rwxrwxrwx 2 hel-s users 56 Sep 09 11:05 goodbey
C. drwxr--r-- 1 hel users 1024 Sep 10 08:10 zhang
D. lrwxr--r-- 1 hel users 2024 Sep 12 08:12 cheng
查看答案
【单选题】需要给文件test.txt的赋予的权限是-rwxrwxrw-应当使用哪个命令( )。
A. chmod 777 test.txt
B. chmod 661 test.txt
C. chmod 776 test.txt
D. chmod 665 test.txt
【单选题】下面哪一个命令是查看一个用户是否存在( )
A. id test
B. whoami test
C. who am i test
D. who test
【单选题】哪个命令可以将普通用户转换成超级用户( )
A. super
B. passwd
C. tar
D. su
【单选题】在使用mkdir命令创建新的目录时,在其父目录不存在时先创建父目录的选项是( )。
A. -m
B. -d
C. -f
D. -p