Question: Node Manager ` 1 . Overview: In this project, you will write a C program to implement a basic shell that reinforces programming fundamentals regarding

Node Manager
`
1. Overview:
In this project, you will write a C program to implement a basic shell that reinforces
programming fundamentals regarding linked lists, string functions, bitwise operators, and working with
multiple source files.
2. Premise:
A shell is an interactive command line interpreter that runs programs on behalf of the user. On
Unix based systems, the default shell is the Bourne Again shell (bash). The shell repeatedly prints a
prompt as it waits for command line input on standard input (stdin). Afterward, it carries out the action
as indicated by the contents of the command line input. The shell will serve as the interface for our
Node Manager system.
The command line input is simply a sequence of ASCII characters delimited by any number of
whitespace characters. The first word in the command line input will be the name of a built-in
command. The remaining inputs will be command line arguments.
Your task will be to implement a simple shell program.
3. Provided Handout:
A handout has been provided for you on blackboard which contains the following structure:
p3_handout
src/: this directory contains source files
nodemngr.c: the only file which you will be modifying
inc/: this directory contains header files
listnode.h: contains a self-referential structure used in the project
exec.h: contains a function prototype of code in exec.c
obj/: this directory contains object files
exec.o: object file that is linked in during compilation
inputs/ this directory contains various test cases
data/: this directory contains various test files used by dri

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!