杨浩然 1f736f65ef | hace 3 años | ||
---|---|---|---|
.vscode | 删除 | hace 3 años | |
lab_report | 删除 | hace 3 años | |
README.md | hace 3 años | ||
yeeshell.c | hace 3 años | ||
yeeshell.h | hace 3 años |
main function and function definition
function declaration and macro definition
Pull from my shuishan git.
git clone root@gitea.shuishan.net.cn:10195501441/OS2021_Project1.Shell.git
In the MINIX3 environment, use clang to compile the program.
clang yeeshell.c -o yeeshell
Run yeeshell.
./yeeshell
(1) cd /your/path
(2) ls -a -l
(3) ls -a -l > result.txt
(4) vi result.txt
(5) grep a < result.txt
(6) ls -a -l | grep a
(7) vi result.txt
This command can not be executed in the MINIX3 environment. It prints the following error information.
(8) mytop
(9) history n
(10) exit