6 User Interface Command-interpreter system(命令解释系统) ●Command-interpreter(命令解释程序: The interface between the user and the OS allows users to directly enter commands In the kernel or as a special program o Function:To get the next command statement and execute it.Examples: ,Control-card interpreter(控制卡解释程序):batch system ~Command-line interpreter(命令行解释程序:DOS Shell:UNIX ·GUI(图形用户界面):Macintosh,whindows,. Implementation of command a part of the command interpreter,or a system program,such as UNIX. 口1⊙注,1,2月00 陈话兰xlanchen@ustc.edu.cn http/staff.u0117401 Operating System操作系统原理斐 March28,201915/73
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 User Interface & Command-interpreter system(命令解释系统) Command-interpreter(命令解释程序): ▶ The interface between the user and the OS ▶ allows users to directly enter commands ▶ In the kernel or as a special program Function: To get the next command statement and execute it. Examples: ▶ Control-card interpreter(控制卡解释程序): batch system ▶ Command-line interpreter(命令行解释程序):DOS ▶ Shell: UNIX ▶ GUI(图形用户界面): Macintosh, whindows, ... Implementation of command ▶ a part of the command interpreter, or a system program, such as UNIX. 陈香兰 xlanchen@ustc.edu.cn http://staff.ustc.edu.cn/~xlanchen (Computer Application Laboratory, CS, USTC @ Hefei Embedded System Laboratory, CS, USTC @ Suzhou) 0117401: Operating System 操作系统原理与设计 March 28, 2019 15 / 73
6 User Interface Command-interpreter system(命令解释系统):Examples 4e1c0Me↓06-U57,18,,, Copyright Microsoft Corp.Al1 rights reserved. Killer v1.8 Copyright 1995 Vincent Penquerc'h.All Rights Reserved. Killer installed in memory. DOSKEY Installed. DOSLFM 8.320:loaded consuming 11848 bytes. SHARE v7.18 (Revision 4.11.1192) Copyright (c)1989-2803 Datalight,Inc. installed. CuteMouse v1.9.1 [DOS] Installed at PS/2 port Loek1 ng volume9,· Now you are in MS-DOS 7.18 prompt.Type 'HELP'for help. C:\> 口G¥4老年年色走QG 陈香兰xlanchen@ustc.edu.cn http/作taf.u01174O1:Operating System操作系统原理 March28,201916/73
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 User Interface & Command-interpreter system(命令解释系统): Examples 陈香兰 xlanchen@ustc.edu.cn http://staff.ustc.edu.cn/~xlanchen (Computer Application Laboratory, CS, USTC @ Hefei Embedded System Laboratory, CS, USTC @ Suzhou) 0117401: Operating System 操作系统原理与设计 March 28, 2019 16 / 73
6 User Interface Command-interpreter system(命令解释系统):Examples linux-2.6.26:bash 文件编细看书签设五用助 xlanchen@dubuntu:-/workspaces cd linux-2.6.26/ xlanchen(@ubuntu:~/workspace/linux-2.6.26$1s arch Kbuild samples block kernel scripts COPYING lib security CREDITS MAINTAINERS sound crypto Makefile System.map Documentation 们丽 tags drivers modules.order temp fs Module.symvers usr include net virt init README valinux ipc REPORTING-BUGS vmlinux.o xlanchen(dubuntu:-/workspace/linux-2.6.26$ xlanchen(@ubuntu:-/workspace/linux-2.6.26$ xlanchen(@ubuntu:~/workspace/linux-2.6.26$ xlanchenQubuntu:-/workspace/linux-2.6.26$ xlanchenQubuntu:-/workspace/linux-2.6.26$ xlanchen(dubuntu:-/workspace/linux-2.6.26$ xlanchen(ubuntu:-/workspace/linux-2.6.26$ unux-2.6.26:bash 陈话兰xlanchen@ustc.edu.cn http/staff.u0117401 Operating System操作系统原理斐 March28,201916/73
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 User Interface & Command-interpreter system(命令解释系统): Examples 陈香兰 xlanchen@ustc.edu.cn http://staff.ustc.edu.cn/~xlanchen (Computer Application Laboratory, CS, USTC @ Hefei Embedded System Laboratory, CS, USTC @ Suzhou) 0117401: Operating System 操作系统原理与设计 March 28, 2019 16 / 73
6 User Interface Command-interpreter system(命令解释系统):Examples 回收站 S 立已经的的计常机碰基¥生事 整击儿5第送出史 开始 白我电恋665配 陈香兰xlanchen@ustc.edu.cn http:/staf仟.u011740i:Operating System操作系统原理 March28,201916/73
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 User Interface & Command-interpreter system(命令解释系统): Examples 陈香兰 xlanchen@ustc.edu.cn http://staff.ustc.edu.cn/~xlanchen (Computer Application Laboratory, CS, USTC @ Hefei Embedded System Laboratory, CS, USTC @ Suzhou) 0117401: Operating System 操作系统原理与设计 March 28, 2019 16 / 73
6 User Interface Command-interpreter system(命令解释系统):Examples E:\VINDOWS\system32\cad.exe 回 1 icrosoft Windows XP【做本5.1.260附] (C)版权所有1985-2001 Microsoft Corp. E:\Docunents and Settings\xlanchen>dir 服动器E中的赫没有标签。 卷的序列号是34PB-3E9 E:Docunents and&ettingsxlanchen的目录 2011-09-01 09:18 <DIR> 2011-09-01 09:18 <DIR> 2011-09-1 g906 <DIR> 了开始」来单 2011-09-01 09:18 <DIR> My Docunents 2011-09-01 99:18 <DIR> Favorites 2011-09-9109:06 <DIR> 采面 个文件 6个目16.833.316.864 可用字节 E:\Docunents and Settings\xlanchen> 陈适兰xlanchen@ustc.edu:cn http/staff..u01174O1:Operating System操作系统原理 March28,201916/73
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 User Interface & Command-interpreter system(命令解释系统): Examples 陈香兰 xlanchen@ustc.edu.cn http://staff.ustc.edu.cn/~xlanchen (Computer Application Laboratory, CS, USTC @ Hefei Embedded System Laboratory, CS, USTC @ Suzhou) 0117401: Operating System 操作系统原理与设计 March 28, 2019 16 / 73