Operating System Concepts - programming projects. (2020/03 ~ )
- Making a little shell program that will accept command line inputs.
- for example,
ls -al
will be stored inchar * args
. Parent process willfork()
to make a child process. Child process willexecvp()
to execute the given command arguments. - This program should provide a history function for all past commands. Arguments
ps, ls -al, top, cal, who, date
should be printed like6 ps, 5 ls -al, 4 top, 3 cal ...
.