Question: Instructions Write a mini shell program (in C/C++ ) called cwushell under Linux/MacOS. The shell recognizes the following internal commands: meminfo switch will print on


Instructions Write a mini shell program (in C/C++ ) called cwushell under Linux/MacOS. The shell recognizes the following internal commands: meminfo switch will print on the screen different memory related information based on the switch. The different switches to be implemented are: 1) - t - will print the total RAM memory available in the system in bytes, 2) -u -will print the used RAM memory in bytes and 3) c - will print the size of the L2 cache/core in bytes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
