Need codes for a project

Job ID: 30683084

Budget: $30 – $250 USD

prints 4 lines, the first line is the shell authors name, second line is the shell author's id, third line is the course designation (CIS 340) and semester+year, fourth line prints "Lab 1"
cwd
Prints the current working dirtory of the shell
cd
Takes 1 parameter
Change the shell's current working directory to the directory set by the parmaeter
run
Takes 1 parameter
Executes the program specified by the parameter, the program to be executed does not need to support any additional parameters being passed to it (for example, you can run "ls" but not "ls /home"
Upon completion of the run program inform the user os the exit code
exit
Exits the shell

In addition to the above commands:
Create a name for your shell, before accepting user input your shell should print its name followed by a colon.
When your shell is started, it should set the working directory to whatever the working directory was set to the last time it was closed via the exit command (it can also set it to wherever it was located last regardless of how it exited, but you are only required to handle natural exits via the exit command)

The shell should not exit on control+c or control+d (EOF) input.

For EOF, look at the man page for feof, Note feof may not be (it's probably not) the function you want to use
For control C, it is mentioned in the lecture videos.

You may not use the system function.
Related categories: C Programming C++ Programming