Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode OS program Linux-Unix
Title: Linux-shell) Download
 Description: 1, we use readLine () function to read user input shell command, use an array to save the shell command, arrays are fixed size. 2, in the main () function according to the string in the existence of "&" characters to determine whether the background process. If the background is to determine whether the command is a command, if not pass after segmentation command for the pipel () function, if is the words segmentation based on while cycle to pass commands to pipel () function. If not the background process, need to use waitpid () function to wait for the child process to end a process to continue.
 Downloaders recently: [More information of uploader rrr]
 To Search:
File list (Check if you may need any files):
 

Linux简单的shell实现(附源代码).doc
    

CodeBus www.codebus.net