登录
首页 » Linux-Unix program » 在myshell v0.1的基础上,增加新的功能:在父进程中接收控制台输入一行字符串,作为用户发出的Linux命令,如ls /usr/*.c <回车>...

在myshell v0.1的基础上,增加新的功能:在父进程中接收控制台输入一行字符串,作为用户发出的Linux命令,如ls /usr/*.c <回车>...

于 2023-05-10 发布 文件大小:114.61 kB
0 174
下载积分: 2 下载次数: 1

代码说明:

在myshell v0.1的基础上,增加新的功能:在父进程中接收控制台输入一行字符串,作为用户发出的Linux命令,如ls /usr/*.c ,在创建一个子进程后,子进程通过调用execlp()系统调用,执行这条命令。-In the myshell v0.1 based on adding new features: In the parent process to receive the console input line of string, as issued by the Linux user commands, such as ls/usr /*. c < Enter " , in creating a sub- the process, the child process by calling execlp () system call, the implementation of this Order.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 基于uclinux和ucos2的fs(文件系统)驱动原理及代码汇总
    基于uclinux和ucos2的fs(文件系统)驱动原理及代码汇总-Uclinux and ucos2 based on the fs (file system) and code-driven aggregation principle
    2022-08-24 03:08:38下载
    积分:1
  • C++.GUI.Programming.with.Qt.4.chm qt开发经典
    C++.GUI.Programming.with.Qt.4.chm qt开发经典-C++.GUI.Programming.with.Qt.4.chm
    2023-06-09 11:00:04下载
    积分:1
  • 麻雀虽小,五脏俱全加强版聊天室,源码来自网上搜得的,增加用户登录密码检查,聊天信息记录功能,版权归原作者所有,我只是修改下玩。在终端下执行,没有图形界面,没有创...
    麻雀虽小,五脏俱全加强版聊天室,源码来自网上搜得的,增加用户登录密码检查,聊天信息记录功能,版权归原作者所有,我只是修改下玩。在终端下执行,没有图形界面,没有创建子进程,利用int型数组保存客户accept套接字 -Sparrow may be small, fully-equipped enhanced version of chat rooms, source gathered from the Internet, and increase user login password checking, chat information recording function, belongs to original author, I just change the next play. Executed in a terminal, there is no graphical interface, did not create the child process, using an array of int type to save customers accept socket
    2023-04-26 01:50:03下载
    积分:1
  • Linux下的.wav文件播放示例,装了QT的话先#qmake
    Linux下的.wav文件播放示例,装了QT的话先#qmake -project生成工程文件pcm.pro,然后 #qmake pcm.pro生成Makefile,然后 #make 最后 #./pcm 执行 注意代码里面包括要播放的.wav文件的路径-Linux under. Wav file playback example, QT installed, then the first# Qmake-project to generate engineering documents pcm.pro, and then# Qmake pcm.pro generated Makefile, then# Make the final#./Pcm attention to the implementation of the code inside the including the need to play. wav file path
    2022-03-10 16:40:16下载
    积分:1
  • 发送Arp包,linux下程序
    发送Arp包,linux下程序-send Arp package in linux
    2022-10-23 16:15:03下载
    积分:1
  • linux下如何访问mysql
    linux下如何访问mysql-how mysql visit
    2022-03-25 08:26:21下载
    积分:1
  • 系统。他致力于发展为恋人!
    unix.v6.v7.源码,献给开发系统的爱好者!-unix.v6.v7. FOSS, dedicated to the development of lovers!
    2022-07-05 13:13:30下载
    积分:1
  • Linux一般来说,我们用声音和音频设备内部的固相萃取…
    Linux下的声音设备编程比大多数人想象的要简单得多。一般说来,我们常用的声音设备是内部扬声器和声卡,它们都对应/dev目录下的一个或多个设备文件,我们象打开普通文件一样打开它们,用ioctl()函数设置一些参数,然后对这些打开的特殊文件进写操作。-Linux Generally speaking, we used the voices of internal equipment and audio speakers, which corresponds to/dev directory of one or more equipment, we like to open the file as they opened with ioctl () function set some parameters, then open these documents into the special write .
    2022-01-26 15:27:50下载
    积分:1
  • File Name 第一课 什么是Linux 第二课 为什么使用Linux 第三课 Linux纵览 第四课 Linux的发展...
    File Name 第一课 什么是Linux 第二课 为什么使用Linux 第三课 Linux纵览 第四课 Linux的发展 第五课 Linux特性 第六课 Linux与其他操作系统的区别 第七课 TurboLinux简介 第八课 进入与退出系统 第九课 文件与目录操作 第十课 (10)Linux备份与压缩命令 第十课 (1)Linux文件和目录操作相关命令 第十课 (2)Linux文件内容查询命令 第十课 (3)Linux文本处理命令 第十课 (4)Linux文件内容统计命令 第十课 (5)Linux文件比较命令 第十课 (6)Linux文件的复制、删除和移动命令 第十课 (7)Linux文件链接命令 第十课 (8)Linux目录的创建与删除命令 第十课 (9)Linux改变文件或目录的访问权限命令 第十一课 Linux进程管理及作业控制 第十二课 Linux进程查看 第十三课 Linux进程调度 第十四课 Linux磁盘管理 第十五课 (1)Linux系统管理命令 第十五课 (2)Linux与用户有关的命令 第十五课 (3)Linux其它命令 Linux的冲击和操作系统的革命 -err
    2022-02-25 18:24:14下载
    积分:1
  • This a free PPPoE redirector for Linux.基于LINUX环境下的PPPOE协议源代码...
    This a free PPPoE redirector for Linux.基于LINUX环境下的PPPOE协议源代码-This a free PPPoE redirector for Linux. Based on the LINUX environment PPPOE protocol source code
    2022-07-05 07:02:25下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载