answer_unix(all).doc

上传人:m**** 文档编号:561357495 上传时间:2023-02-14 格式:DOC 页数:11 大小:140.01KB
返回 下载 相关 举报
answer_unix(all).doc_第1页
第1页 / 共11页
answer_unix(all).doc_第2页
第2页 / 共11页
answer_unix(all).doc_第3页
第3页 / 共11页
answer_unix(all).doc_第4页
第4页 / 共11页
answer_unix(all).doc_第5页
第5页 / 共11页
点击查看更多>>
资源描述

《answer_unix(all).doc》由会员分享,可在线阅读,更多相关《answer_unix(all).doc(11页珍藏版)》请在金锄头文库上搜索。

1、Chapter 21.What are the two major UNIX system versions?Answer: AT & T UNIX version V, Berkeley UNIX2.What is the kernel?Answer: the UINX kernel, also called the base operating system, is the layer that manages all the hardware-dependent functions. 3.What is a shell?Answer: shell is a powerful comman

2、d interpreter, which control the users interaction with UINX. 4.Briefly explain the virtual computer concept.Answer: Virtual compute is an execution environment that consists of a terminal for user interface and shared access to the other computer resources such as memory, disk drivers, CPU etc. UNI

3、X, a multiuser operating system is implemented as a collection fo virtual computers. To the users, it appears that each of them has his or her own private pseudocomputer. 10.Name some of the UNIX variants.Answer: Linux, Solaris, UnixWare.Chapter 37. What sort of information does the man command prov

4、ide?Answer: the man command provide detailed information about command usage and options.8. What is the general format of a UNIX command?Answer: the command line format:13. Name the different types if UNIX shells. What are the prompt signs for UNIX shells?Answer: Bourne Shell(the sign is $), Korn Sh

5、ell(the sign is $), C Shell(the sign is %), Bourne Again Shell(the sign is $).14. What are the shell commands?Answer: shell commands are part of the shell program, these built-in commands are recognized by the shell and are executed internally.15. What are the utility programs?Answer: utility progra

6、ms s are executable programs that the shell locates and executes.Chapter 44. Name the vi modesAnswer: command mode,text input mode5. Name the keys that place the vi editor in the text input modeAnswer: I,i,O,o,A,a7. Name the command that saves your files and quits the vi editor.Answer: :wq or ZZ8. N

7、ame the command that just saves your file and remains in the vi editor.Answer: :w9. Name the key that places the vi editor in the command modeAnswer:ESC10. Name the operator that deletes one line of text and the operator that deletes five lines of text.Answer: dd, 5dd11.Name the operator that delete

8、s a character and the operator that deletes 10 characters.Answer: x, 10x12. Name the key that repeats your most recent text change.Answer: .(dot)13. Name the key that moves the cursor position to the end of the current line.Answer: $14. Name the key that moves the cursor position forward one word.An

9、swer: w15. Name the cursor movement keys that move the cursor up, down, left, and right.Answer: k, j, h, l16. Name the key that appends the text you enter to the end of the current line.Answer: A17. Name the key that opens a line above the current line.Answer: O18. Name the key that opens a line bel

10、ow the current line.Answer: o19. Name the key that undoes the most recent changes.Answer: u20. Name the key that undoes all the changes on the current line.Answer: UChapter 55.Question Nbr.1234567891011121314Answerhjniklmadbefgc6. Absolute pathname: bRelative pathname: c dFilename: a e f7.a. rm file

11、nameb. rmdir filenamec. rm -i filenamed. lp filename or lpr filenamee. cancel print-request-idf. lpstat g. lp -d printer-name or lpr -p printer-nameh. lp -3 filenamei. lsj. ls -a ls - -allk. ls ll. cd cd $HOMEm. cd directory-namen. mkdir directory-nameo. mkdir -p directory-name/directory-namep. cd /

12、q. cat filenamer. cat filename filename9.filenameusergroupotherdrwxrwxrwx 11read- write-executeread- write-executeread- write-execute-rwxrw-rw- counterread- write-executeread- writeread- write-rw- dead.letterread- write-rw-rw-rw- enableread- writeread- writeread- write-rwxrwxrwx xyzread- write-execu

13、teread- write-executeread- write-execute-rwx- HELLOread- write-execute-rwx-x-x Memosread- write-executeexecuteexecuteChapter 61.vi -R xyz4.The vi editor uses nine buffers numbered from 1-9 to store text that is deleted or yanked during the editing job. Data stored in the buffers can be accessed by t

14、heir assigned numbers. Data in the first buffer holds the latest changes and each new change of text will be stored in buffer 1 and the content of all buffers will move down. The content of buffer number 9, if any, will be lost. (Section 6.4.1)6.a: ddb: dwc: yyd: ywe: d$f: z2yyg: zph: 2p9.The .exrc

15、file is used to tailor the vi environment. The commands and parameters that affect the vi environment, and you want to be available when using the vi editor, are typed in this file. The content of this file will be executed when vi is invoked.10.:!date 11.:r date 13.The vi editor recovery option is -r that is

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 生活休闲 > 社会民生

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