Unix面试题(英文 附答案)2-5

本文探讨了Linux系统中文件权限的基本概念,包括默认模式、umask设置及其对文件所有者和其他用户的影响。同时,文章介绍了硬链接文件的特性、如何更改文件所有者、外部文件系统的挂载位置等关键知识点,并覆盖了重要的目录用途,如临时文件存储、内核存放位置等。
摘要由CSDN通过智能技术生成
81, Your system has a default mode of 666. You specify a umask value of 222. What will be the default permissions?A  444    
82,Your system has a default mode of 666. You specify a umask value of 022. What default permissions will the file owner have?A  6  
83,Your system has a default mode of 666. You specify a umask value of 022. What permissions will everyone except the owner and the owner's group have?
  D   4
84,Hard-linked files share the same _______.
A  inode  
85,Which of the following commands can be used to change the owner of a particular file?   D   /
86,External file systems are usually mounted from the ________ directory?
A  /mnt   
87,The ____ directory is usually dynamic and contains system information?
D   /proc
88,Device files are usually located in the ______ directory.C  /dev  
89, The system kernel is usually stored in the _____ directory.
A  /boot   
90,Temporary files are generally stored in the _____ folder.  C   /temp  
91, The database used by the locate utility to find files is updated by what program?   B  updatedb    
92, You have just renamed a file. You attempt to find the file by using the locate program. You are unable to find the file. What should you do?
    D   manually run updatedb
93,You want to find the full path of a certain command. How would you do this?C  by using the ‘which' command   
94, What lilo option will list the name and location of available kernels?B  -q   95, You want to uninstall lilo. Which of the following would you do to accomplish this?A  lilo -u 
96,You want to set a script to run when your Linux system reboots. What lilo option should you use?   B   -R 
97, You want to set a 30 second delay before your system boots to the default kernel. Which of the following command lines would do this?  B  lilo -d 30     98, Which lilo.conf parameter will specify the amount of time the system will wait before booting to the default image?    D   delay
99, What lilo.conf parameter is used to specify vga text mode?   D  vga
100, What lilo.conf parameter is used to specify what device should be mounted as root by default?  B  root
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值