Linux程序设计大报告
(24页)
本资源提供全文预览,点击全文预览即可全文预览,如果喜欢文档就下载吧,查找使用更方便哦!
19.9 积分
考查课程报告课程名称: Linux程序设计 学 院: 信息工程与自动化学院专 业: 计算机 年 级: 2011级 学 号: 201110405138 学生姓名: 指导教师:日 期:2014. 6. 8实验一,Linux进程及网络开发实验二Linux的文件及目录操作实验三,Linux进程及网络开发实验一,Linux进程及网络开发一、 实验目的及内容目的:掌握和熟悉liunx编程环境及语言;学会使用shell环境。内容:1. Linux的Shell命令开发二、 要求1.将书上的shell程序输入linux运行并得到结果三、 实验操作1. 实验平台2. 题目课本P69-P76页。CD唱片应用程序。程序存储日录为/home/master/demo/chapter02/CDplay毎 ~/demo/chapter02hiaster@master-PC ~/demo/chapter02 $ IsCDplay title.cdb tracks.cdbpiaster^master-PC ~/demo/chapte厂02 $ pwd/home/master/demo/chapter02$ ./CDplay-PC ~/demo/chapter02毎 ~/demo/chapter02Options :-a) Add new CDf) Find CDc) Count the CDs and tracks in the catalog q) QuitPlease enter choice then press return aEnter catalog name musicEnter title music testEnter type classesEnter artist/composer helloAbout to add new entry music music test classes hello Are you sure? yes . .Enter track information for this CD When no more tracks enter qTrack 1, track title? q库 -/demo/chapterO2Options :-a) Add new CDf) Find CDc) Count the CDs and tracks in the catalog1) List tracks on music testr) Remove music test . .u) Update track -information for music test q) QuitPlease enter choice then press returnOptions :-a) Add new CDf) Find CDc) Count the CDs and tracks in the catalog1) List tracks on music testr) Remove music testu) Update track information for music testq) QuitPlease enter choice then press return fEnter a string to search for in the CD titles music testCatalog number: musi cTitle: music testType: classesArtist/Composer: hel 1 oPress return匡-/demo/chapterO2Options :-Add new CD Find CDa)f) ?c) Count the CDs and tracks in the catalog1) List tracks on music testr)u)q)RemoveUpdate Quitmusic test . .track -information for music testPlease enter found 4 CDs, Press returnchoice then press return cwith a total of 32 tracks庄 ~/demo/chapter02OptionsAdd new CD Find CDa)f)c) Count the CDs and tracks in the catalog1) List tracks on music testr)u)q)Remove music testUpdate track information for music test QuitPlease enter choice then press return 1music test :-Press returnE: ~/de mo/cha pterO2Options :-a) Add new CDf) Find CDc) Count the CDs and tracks in the catalog1) List tracks on music testr) Remove music test . .u) Update track information for music test q) QuitPlease enter choice then press return r You are about to delete music testAre you sure? yes Entry removed Press return毎 ~/demo/chapter02Options :-a) Add new CDf) Find CDc) Count the CDs and tracks in the catalog1) List tracks on music testr) Remove music testu) Update track information for music test q) QuitPlease enter choice then press return u Current tracks 关 键 词: Linux 程序设计 报告
天天文库所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。