杨浩然 9e76e6614e | 3 lat temu | ||
---|---|---|---|
.vscode | 删除 | 3 lat temu | |
lab_report | 删除 | 3 lat temu | |
README.md | 3 lat temu | ||
yeeshell.c | 3 lat temu | ||
yeeshell.h | 3 lat temu |
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