/OperatingSystemConcepts

Operating System Concepts | The Book | Projects

Primary LanguageC

operating-system-concepts

Operating System Concepts - programming projects. (2020/03 ~ )

Chapter 3 Programming Project : mini Unix Shell

  • Making a little shell program that will accept command line inputs.
  • for example, ls -al will be stored in char * args. Parent process will fork() to make a child process. Child process will execvp() 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 like 6 ps, 5 ls -al, 4 top, 3 cal ....