-
大小: 80KB文件類型: .doc金幣: 1下載: 0 次發(fā)布日期: 2021-06-05
- 語言: 其他
- 標(biāo)簽: linux??實(shí)驗(yàn)七??shell??編程??
資源簡介
三、實(shí)驗(yàn)內(nèi)容
1、編寫一個(gè)shell 腳本程序,打印出班級總成績排名在前3 名(按總成績遞增)學(xué)生的姓名、學(xué)號和總成績。打印輸出的格式如下(姓名、學(xué)號、第1、2、3 門課程成績及總成績):
2、編寫一個(gè)menu 的shell腳本程序,執(zhí)行后的界面為:
Number Name For Linux Menu
1 exit leave menu or return
2 menu goto another local menu
3 vi deit a file
4 mail read a mail
5 send send mail to someone
6 cal see your calendar
7 who see who is on the system
8 ls list the files in this directory
9 cat display a file on the screen
Please enter a number or a name for the action you wish:
要求有清屏功能,能正確地執(zhí)行各項(xiàng)命令并顯示。
代碼片段和文件信息
評論
共有 條評論