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

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

于 2023-05-10 发布 文件大小:114.61 kB
0 131
下载积分: 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 个回复

  • 不错的linux书籍我比较希望就是这么简单的.
    不错的linux书籍我比较希望就是这么简单的.-Good books I would prefer linux is so simple.
    2022-12-28 23:50:03下载
    积分:1
  • Linux工程师笔记
    Linux工程师笔记-Linux Engineer Notes
    2022-08-08 11:50:57下载
    积分:1
  • Remote Connection Manager是一个Gnome2 应用程序,它提供了一个易用的方式来简化到远程主机的连接。它的主要目的是提供一个GUI来运行
    Remote Connection Manager是一个Gnome2 应用程序,它提供了一个易用的方式来简化到远程主机的连接。它的主要目的是提供一个GUI来运行ssh, telnet and rdesktop的应用程序,同时它也是高度可配置的。-Remote Connection Manager is a Gnome2 application procedure, it provided a Yi Yong way to simplify to the long-distance main engine connection. Its main goal provides GUI to move ssh, the telnet and rdesktop application procedure, simultaneously it also is highly may dispose.
    2022-02-25 04:40:27下载
    积分:1
  • This version of dialog, formerly known as cdialog is based on the Debian package
    This version of dialog, formerly known as cdialog is based on the Debian package for dialog 0.9a (see CHANGES for recent modifications) 这是一个 unix 系统下的对话框管理程序, 你可以将该程序编译后,直接使用。-This version of dialog, formerly known as cdialog is based on the Debian package for dialog 0.9a (see CHANGES for recent modifications) This is a unix system dialog box under the management program, you can compile this program, the direct use.
    2022-10-15 02:45:03下载
    积分:1
  • completion of the following non
    完成ls的如下功能 不带参数的ls:列出当前目录下的非隐藏(文件和目录名不以.开头)的文件和目录 ls -a:列出当前目录下的所有文件和目录 ls -l:以长列表形式列出当前目录下的非隐藏的文件和目录。每个文件或目录只要求列出如下信息:类型与权限、文件名、链接数、用户ID、组ID、字节大小、块数 ls 路径名:如果路径名代表一个存在的文件则显示该文件,否则提示出错;如果路径名字代表一个存在的目录则列出该目录中的文件 列出文件名和目录名时,要求可执行文件最后加上一个*号,目录名最后加上一个/号。 所提供的路径名可以包含“.”,“..”,“~”等特殊目录-completion of the following non-functional parameters of ls : listed in the current directory-hidden (files and directories were not. Beginning) of files and directories ls-a : listed in the current directory of all files and directories ls-l : in the long list of current directory listed under the non-hidden possession of files and directories. Each file or directory only asked to list the following information : the type and competence, file name, number of links, the user ID and group ID, byte size, a few blocks ls path : If a path representatives of the document showed documents suggest otherwise error; If representatives of a path name the presence of the directory lists the directory lists the
    2023-02-01 23:40:04下载
    积分:1
  • S3C2410
    基于s3C2410的源代码 在linux操作系统下实现-S3C2410-based source code in the linux operating system to achieve
    2022-06-20 04:16:06下载
    积分:1
  • Marvell LAN driver source
    Marvell 网卡驱动程序原码-Marvell LAN driver source
    2022-09-04 13:10:02下载
    积分:1
  • Linux下文件工具。
    Linux下文件工具。-Linux as follows tool.
    2022-01-25 18:27:54下载
    积分:1
  • linux的适用文档和心得体会,通过linux我们同样可以很好的进行一些基本的操作。...
    linux的适用文档和心得体会,通过linux我们同样可以很好的进行一些基本的操作。-linux application documents and experiences, through the linux we will also be able to carry out a good number of basic operations.
    2022-10-02 19:05:03下载
    积分:1
  • Cross
    跨平台性能调试工具,支持intel,amd,mips,arm, sparc等多种平台。支持linux内核,驱动和应用的性能分析。识别应用瓶颈,帮助你提升应用的整体性能。-Cross-platform performance debugging tools, support for intel, amd, mips, arm, sparc, such as multiple platforms. To support the linux kernel, drivers and application performance analysis. Identify bottlenecks in the application, help you to enhance the overall performance of applications.
    2022-05-26 18:38:26下载
    积分:1
  • 696518资源总数
  • 106222会员总数
  • 14今日下载