文件名称:myshell
- 所属分类:
- Linux/Unix编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 11kb
- 下载次数:
- 0次
- 提 供 者:
- 叶*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
实现Shell,能处理命令
cd :改变进程当前路径
pwd :查看进程当前路径
pid:查看当前进程号(getpid()系统调用)
logout :退出shell
ls [-l]
rm [-r]
mkdir, mv, cp-achieve Shell, can handle orders cd : the process of change current path pwd : View current path process pid : View the current process (getpid () system call) logout : withdraw from the shell ls [-l] rm [-r] mkdir, mv, cp
cd :改变进程当前路径
pwd :查看进程当前路径
pid:查看当前进程号(getpid()系统调用)
logout :退出shell
ls [-l]
rm [-r]
mkdir, mv, cp-achieve Shell, can handle orders cd : the process of change current path pwd : View current path process pid : View the current process (getpid () system call) logout : withdraw from the shell ls [-l] rm [-r] mkdir, mv, cp
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shell
.....\cp.c
.....\error.c
.....\ls.c
.....\mkdir.c
.....\mv.c
.....\myshell.c
.....\ourhdr.h
.....\pathalloc.c
.....\pwd.c
.....\readme.txt
.....\shell.out
.....\cp.c
.....\error.c
.....\ls.c
.....\mkdir.c
.....\mv.c
.....\myshell.c
.....\ourhdr.h
.....\pathalloc.c
.....\pwd.c
.....\readme.txt
.....\shell.out