Description:
Implement a simple shell, implementation steps: (1) appears on the virtual shell interface command prompt ($ or#) (2) to obtain user instructions: Get the user at the command prompt type the command and its parameters, and Note that the maximum length of command input (3) resolve command: the command to parse user input, parse out the command name and parameters (4) to find the command file: Each command must rely on the implementation of the corresponding executable files storage paths stored in the user s PATH environment variable (5) execute the command: by fork () system call to create a process to execute the command to complete the task, the specific command with execv () function.
To Search:
File list (Check if you may need any files):
12.txt