操作系统project——知识讲义.docVIP

  • 8
  • 0
  • 约3.4万字
  • 约 27页
  • 2015-10-25 发布于浙江
  • 举报
实验题目: 熟悉Linux shell命令,熟悉fork,exec的使用.实验1,2当堂完成,报告编写实验1,2. 实验目的: 通过对相关linux GNU c语法和命令的熟悉,可进一步了解linux操作系统的功能、结构;了解linux的进程创建方法,父子进程的关系,进程的回收,进程的不同状态等。 三 实验设备及环境: 1. 硬件设备:PC机一台 2. 软件环境:安装Linux操作系统,并安装相关的程序开发环境,如C \C++\tsh\bsh等编程语言环境。 实验内容及要求: 1编写一个shell命令提示符, (1)包含以下内部命令: i. cd directory - change the current default directory to directory. If the directory argument is not present, report the current directory. If the directory does not exist an appropriate error should be reported. This command should also change the PWD environment variable. ii. clr - clear the screen. iii. dir directory - l

文档评论(0)

1亿VIP精品文档

相关文档