`
sakakokiya
  • 浏览: 515933 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

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

阅读更多
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-config
3, The ____ daemon listens for print jobs on a Linux system?A  lpd  
4, You want to repeat command number 3 in your history. How would you do this?    D  !3
5, How can you find the path to your history file?A   type echo $HISTFILE 
6, What switch for the sed command allows you to make substitutions? D   s
7, You have a text file named mytextfile. How would you sort the lines of the file in reverse alphabetical order?   D  sort -r mytextfile
8, You have two files, file1 and file2. You want to combine field 2 in file1 with field 3 in file2. How would you do this? D   join -1 2 -2 3 file1 file2
9, You want to display the last 10 lines of the file ‘longfile'. How would you do this?A    tail longfile            
10, You want to copy the file mydir\myfile to the directory dir2. But, you want to be warned if the file already exists. How would you do this?
C   cp -i mydir\myfile dir2    
11, which of the following will allow you to rename a file?   C   mv 
12, Standard input(stdin) is referenced by what number?  B   0 
13, You want to list the contents of the directory ‘directory1′ with any errors going to the file ‘error1′. How would you do this?
   B   ls directory1 2>error1
14, You want to stop the inetd process immediately. It has a process id of 15. How would you do this?   D   kill -9 15
15, You suspect that a particular process has been suspended. What command would you use to check this?    D   jobs
16, What command would you use to find files that were owned by the group ‘mygroup'?A   find -group mygroup  
17, What command is used to mount a file system read-only? D   mount –r
18, Which of the following commands can be used to change the owner of a particular file?  B  chown  
19, When setting file permissions using octal settings, what value represents read and write access?  B  6  
20, There is a file with the following permissions: -rw-rw-r- What rights does the owner have?A   read-write
分享到:
评论

相关推荐

    java面试题以及技巧

    │ │ j2sdk-1_4_2-doc.zip │ │ Java Programming Language (SL-275).txt │ │ langspec-3.0.zip │ │ SCJP Certification Training.htm │ │ SCJP 考纲.doc │ │ SL275_OH_GB.pdf │ │ Sun Certified ...

    php经典面试题及答案

    ### PHP经典面试题详解 #### 面试题一:GET与POST的区别 ...掌握这些PHP面试题及其答案,不仅能帮助求职者在面试中脱颖而出,还能加深对PHP语言特性和Web开发基础知识的理解,从而在实际项目开发中更加得心应手。

    java面试题及技巧4

    │ │ j2sdk-1_4_2-doc.zip │ │ Java Programming Language (SL-275).txt │ │ langspec-3.0.zip │ │ SCJP Certification Training.htm │ │ SCJP 考纲.doc │ │ SL275_OH_GB.pdf │ │ Sun Certified ...

    java面试题及技巧3

    │ │ j2sdk-1_4_2-doc.zip │ │ Java Programming Language (SL-275).txt │ │ langspec-3.0.zip │ │ SCJP Certification Training.htm │ │ SCJP 考纲.doc │ │ SL275_OH_GB.pdf │ │ Sun Certified ...

    java面试题以及技巧6

    │ │ j2sdk-1_4_2-doc.zip │ │ Java Programming Language (SL-275).txt │ │ langspec-3.0.zip │ │ SCJP Certification Training.htm │ │ SCJP 考纲.doc │ │ SL275_OH_GB.pdf │ │ Sun Certified ...

    2018 BAT最新-php面试必考题(内附答案)

    date()函数用于格式化日期和时间,strtotime()函数可以解析关于日期和时间的英文文本描述,并返回相应的Unix时间戳。 5. PHP输出函数的区别 echo是PHP的语句,可以输出一个或多个字符串,而print和print_r是函数。...

    java面试题目与技巧1

    │ │ j2sdk-1_4_2-doc.zip │ │ Java Programming Language (SL-275).txt │ │ langspec-3.0.zip │ │ SCJP Certification Training.htm │ │ SCJP 考纲.doc │ │ SL275_OH_GB.pdf │ │ Sun Certified ...

Global site tag (gtag.js) - Google Analytics