杨浩然 9e76e6614e | преди 3 години | ||
---|---|---|---|
.vscode | 删除 | преди 3 години | |
lab_report | 删除 | преди 3 години | |
README.md | преди 3 години | ||
yeeshell.c | преди 3 години | ||
yeeshell.h | преди 3 години |
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