unix管理与开发期末考试试卷(英文版)

上传人:xzh****18 文档编号:34401444 上传时间:2018-02-24 格式:DOC 页数:9 大小:96.50KB
返回 下载 相关 举报
unix管理与开发期末考试试卷(英文版)_第1页
第1页 / 共9页
unix管理与开发期末考试试卷(英文版)_第2页
第2页 / 共9页
unix管理与开发期末考试试卷(英文版)_第3页
第3页 / 共9页
unix管理与开发期末考试试卷(英文版)_第4页
第4页 / 共9页
unix管理与开发期末考试试卷(英文版)_第5页
第5页 / 共9页
点击查看更多>>
资源描述

《unix管理与开发期末考试试卷(英文版)》由会员分享,可在线阅读,更多相关《unix管理与开发期末考试试卷(英文版)(9页珍藏版)》请在金锄头文库上搜索。

1、南开大学 UNIX 管理与开发期末试卷 1 / 9南开大学 20132014 年度第二学期Unix 管理与开发期末考试试卷(考试时间:100 分钟 总分 100 分)院(系) 软件工程 学号 姓名 分数 一选择正确的答案 (每题 2 分,共 20 分)1. The signs of files can be read, write, execute are followed in turn( A )。A. rwx B. xrw C. rdx D. srwAnswer: A2. Exit interactive shell,should input( C )。A. ; B. q C. exit

2、D. quitAnswer: C3.If superuser root was under the directory:/usr/local,after input cd,the user is under which directory now( B )。A. /home B. /root C. /home/root D. /usr/localAnswer: B4.There is a file named file under the directory:/home/stud1/wang,using( C )can make it run in the background,the com

3、mand output the content of file to file.copyA. cat file ;file.copy B. cat ;file.copy C. cat file file.copy & D. cat file file.copy &Answer: C5.In UNIX system,the source file changes to executable file through compiling ,the executable file belongs to ( B )A. ASCII file B. ordinary file C. directory

4、file D. special fileAnswer: B6.The following narrative on UNIX, which is not correct ( C)A. UNIX file system is a tree structure, easy to manage and retrieve B. UNIX provides a wealth of software tools, such as utilities, text, and development tools C. UNIX manages ordinary files, directories, files

5、, and device files in different ways南开大学 UNIX 管理与开发期末试卷 2 / 9D. UNIX is a multi-user, multi-tasking operating systemAnswer: C7.If you want to know the detail usage of find which is a command of Unix, you should input(C)Ahelp find Bfind help Cman find Dfind manAnswer: C8.About the command cp, which i

6、s incorrect( C )Acp file1 file2Bcp file1 file2 /tmpCcp r file1 file2Dcp r /tmp /mytmp Answer: C9.When we create a new file, it has properties as followed( A )A Readable and writable propertyB Readable executable propertyC Writable executable propertyD . Read-write executable propertyAnswer: A10.If w

7、e want to change the time of a file,use the command( C )Atime B. Date C. touch D. calAnswer: C11.About the command cd , which is incorrect( D )A cd Back to directory when registering B cd /tmp into directory /tmpC cd ./ into the upper directoryDcd ./ into the root directoryAnswer: D12.When you creat

8、e a new directory using the mkdir command, the option when its parent directories do not exist to create a parent directory is ( D )。A. -m B. -d C. -f D. pAnswer: D13.The following statements, which is not belong to the scope of the role of the ifconfig command ( D ) 。A. Configure the local loopback

9、 addressB. Configure the IP address of the network cardC. Activate the network adapter 南开大学 UNIX 管理与开发期末试卷 3 / 9D. Load the card into the kernel Answer: D14.There are four methods to assignment of variables in the shell,the name of name=12 is ( A )。A. Direct assignment B. Use read command C. Using t

10、he command line parameters D. Use the command output 15.Answer: A15.Change the owner of a file ,use command ( C )。A. chmod B. touch C. chown D. catAnswer: C16.how many“-”will output in the following procedures?( D)#include #include #include int main() for(int i=0;i&1 outfile2. execute with this command and success, write the out put of screen(if there is): $ ./a.out outfile 2&1 $ cat outfileAnswer:1 No2 a write to stdout before forkpid = 432, glob = 7, var = 89before forkpid = 431, glob = 6, var =88

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 商业/管理/HR > 管理学资料

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号