Q: What’s the difference between Symbolic Link and HardLink?
A: ln –s src dst-file vs. ln src-file dst-file
You need to understand how file is stored on the File System and what I-node is a...... <阅读全文>
UNIX面试题专栏 - 最全的UNIX面试题, UNIX笔试题, UNIX问题
1. 简单的文件维护与管理
ls, cd, mkdir, rm, cp, mv, cat, more
2. 源程序的编写
vi, ed
3. 编译与连接
gcc, g++, ld
4. 运行与调试
adb,gdb
5. 查看运行状态
% ps –ef
% grep aaa a.txt (aaa is the chars ...... <阅读全文>
81、What syslog.conf facility represents login processes? : auth
82、By default, when a file system is mounted, it is mounted______. :read-write
83、What command can be used to find the c...... <阅读全文>
61、You have just added the following line to your syslog.conf file: lpr.info /dev/console. But, line printer messages are not being sent to the console. What is most likely the problem?
:after...... <阅读全文>
41、Only files on the same file system can be hard-linked. A、True
42、Which of the following syslog.conf entries would cause mail error messages to be sent to the system console? A、mail...... <阅读全文>
21、If the at.allow file does not exist, then the _______ file will be checked in order to determine if a user has access to the at utility. D、at.deny
22、You want to schedule a job to run at ...... <阅读全文>
0、Which of the following can be used to change a user’s initial group? A
A、usermod -g
1、What is the minimum number of partitions needed to install Linux? D、2
2、What lilo option ca...... <阅读全文>
101, What lilo.conf parameter will cause the root file system to be mounted read only? C read-only
102, What command can be used to print out system boot messages?
B dmesg
103, Which of t...... <阅读全文>
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 ...... <阅读全文>
61,What file contains a listing of default file systems?A fstab
62,What command is used to mount a file system read-only? C mount -r 63, You want all the file systems listed in fstab to...... <阅读全文>
41, What switch is used with the useradd command to specify a user’s initial group? D -g
42, You had a contractor come into your company. You originally set his account to expire after...... <阅读全文>
21, There is a file with the following permissions: -rw-r–r– What rights does the owner’s group have? C read
22, Your system has a default mode of 666. You specify a umask...... <阅读全文>
1, Linux is a(n) _________ operating system, meaning the source code is freely available.C open sourced
2, Which of the following will allow you to configure a dial-up connection?
C rp3-conf...... <阅读全文>
101. You install Linux and reboot your machine and you see only L instead of the expected LILO. What is wrong?
:The first stage boot loader loaded but not the second stage.
102. 某用户在上机过...... <阅读全文>
86. fork 系统调用能:把当前进程复制一份,产生一个新进程
87. Which files are used to configure TCP Wrappers? :/etc/hosts.allow and /etc/hosts.deny
88. /boot目录用来存放Linux启动时所需要的一些数...... <阅读全文>
66. What file would you edit to share out a directory via NFS? :/etc/exports
67. 常用的单机备份工具有: tar cpio dump
68. How many primary partitions can exist on an IDE hard drive ? :4
...... <阅读全文>
56. Which option can not be specified to a Client using the DHCP protocol? :web proxy server
57. How can a user set up their own crontab entry?
A. vi ~/.crontab
B. cp /etc/crontab .
C. crontab ...... <阅读全文>
41. 我们可以订阅新闻组、加入新闻列表获得最新的Linux资料。正确
42. 有关管道,以下论述正确的是:B: 是一种设备。 C: 是进程间的一根”管子”,他把数据按先进先出的原则传送。 D: 对管道...... <阅读全文>
31. /etc/passwd文件中有以下几行:
user1:x:1001:100::/usr/user1:/bin/sh
user2:x:1002:100::/usr/user2:/bin/sh
user3:x:1003:103::/usr/user3:/bin/sh
现在user1想把他的文件 tt 给user3看应使用下面那条...... <阅读全文>
16. /分区越大约好,因为/越大,Linux启动速度越快。 错误
17. What command will map all of the dependencies between modules into a file? B depmod -a
18. You have Linux installed on a machine an...... <阅读全文>
1. unix 的 at 命令的功能是A作业调度
2. 在Linux环境下lilo是:D引导程序。
3. root 用户在 /usr/bin 目录下执行命令 chmod +s * 会对系统造成的最可能的伤害是:系统会立刻崩溃
4. Which files are used to ...... <阅读全文>
81一般说来,通常Linux内核的源程序可以在____目录下找到。2、/usr/src
82. NIS服务器通常包括:1、主服务器 2、从服务器 3、二级服务器 4、 域名服务器
83.假设执行如下的命令:alias lcd ...... <阅读全文>
61.Korn shell输出变量用: 2、export
62.对于SMP(对称多处理机)的CPU性能监视来说,我们可以用vmstat命令得到每个CPU的工作负荷情况 2、错误
63.在Linux运行环境下,删除Lilo的命令是(假设Lilo安装...... <阅读全文>
41. 使用 tar cvz 命令将:(1.3.4)
1建立一个归档文件 3. 显示执行的过程 4. 使用压缩或解压方式
42. Linux系统中所有的文件都被连接到一个总的目录树中。 1、正确
43. 一个多协议支持的X终端上的用户,可...... <阅读全文>
21. 以下给变量赋值的方法中,在bash下合理的有:(2.3.4)
2. variable=” this is a tested ip” 3. variable=’this is a tested ip’
4. variable=this\ is\ a\ tested\ ip
2...... <阅读全文>








