Assignment Chef icon Assignment Chef

[Solved] CSE344 Homework 3- a shell that takes input from standard input

5.0 1 customer review Digital download

Digital download

$25.00

Availability
In stock
Checkout
One item

Need a hand?

Message us on WhatsApp for payment or download support.

WhatsApp QR code Open WhatsApp
CSE344 System Programming Homework #3 The objective is to develop your own shell that takes input from standard input. Your shell must support the following commands which you will code: * ls, cat and wc commands must be coded and executed in a separate process using fork+exec. These must not be embedded in shell code. Your single makefile will compile each of these commands code and your shell code separately. Your shell must have the following features: Rules
  1. You must implement all the commands supported by your shell; you cannot use the system() system call. You must use fork+exec for process spawning.
  2. Your program must handle eventual errors gracefully according to the POSIX traditions.
  3. Use POSIX and Standard C libraries. You can write your program using C11 standards.
  4. Valgrind rule from previous homework still holds and will be hold on every homework.
  5. Your program MUST not give segmentation fault or any other fault that causes your program to end in a bad way. It is better for you to send a little part of the homework with clean and executing code instead of full homework with faults like this.
  6. Provide a makefile to compile your homework. Do not run your program inside makefile.
Just compile it. ) Test your homework using the Virtual Machine given to you. k) No late submissions.
  1. Do not send any additional files like screenshots. Just send the makefile and source files.
  2. Taking any code from internet will result getting a grade of -100. Do no put links or references to internet, you dont need code from internet to do this homework. Man pages and your book is well enough.