(Solved) : Objective Going Create Operating System Project Warmup Get Comfortable C C Well Getting Co Q41373780 . . .

Objective: You are going to create your very own Operating System! This project is just a warmup to get you comfortable with

Objective: You are going to create your very own Operating System! This project is just a warmup to get you comfortable with C/C++, as well as getting you comfortable with how these projects will be structured and the expectations. Your operating system is going to be a pure CLI (Command Line Interface) or a shell as its commonly known, and the goal is to make it mimic the commands you can run in a Linux terminal (with some minor changes). Below you will find a list of commands you have to implement with an explanation next to them. pwd Requirements: Command Description display the current working directory echo prints any extra arguments to screen Displays all files and folders in the current working directory. You do not have to pass any arguments for this. Displays a list of all the commands available in your program. This should also inform the user if a command accepts arguments or not. exit quits the program Your program will read in input given by the user, parse the input for commands, execute the commands, and then return to the user for their next input. Your program does not have to execute commands that do not exist within your program. For example if I try to run the command (‘cat README.txt”) you can throw an error informing the user “The command [cat] does not exist.” After you throw the error, return to the user for their next input. help Your program must be able to run multiple commands on a single line. We will use “;” to separate commands. For example your code should be able to execute the following command (“pwd; Is; echo banana; exit) which will… – display the file path of your current directory – display the contents of your current directory echo “banana” to the screen exit the program Show transcribed image text Objective: You are going to create your very own Operating System! This project is just a warmup to get you comfortable with C/C++, as well as getting you comfortable with how these projects will be structured and the expectations. Your operating system is going to be a pure CLI (Command Line Interface) or a shell as its commonly known, and the goal is to make it mimic the commands you can run in a Linux terminal (with some minor changes). Below you will find a list of commands you have to implement with an explanation next to them. pwd Requirements: Command Description display the current working directory echo prints any extra arguments to screen Displays all files and folders in the current working directory. You do not have to pass any arguments for this. Displays a list of all the commands available in your program. This should also inform the user if a command accepts arguments or not. exit quits the program Your program will read in input given by the user, parse the input for commands, execute the commands, and then return to the user for their next input. Your program does not have to execute commands that do not exist within your program. For example if I try to run the command (‘cat README.txt”) you can throw an error informing the user “The command [cat] does not exist.” After you throw the error, return to the user for their next input. help Your program must be able to run multiple commands on a single line. We will use “;” to separate commands. For example your code should be able to execute the following command (“pwd; Is; echo banana; exit) which will… – display the file path of your current directory – display the contents of your current directory echo “banana” to the screen exit the program

Expert Answer


Answer to Objective: You are going to create your very own Operating System! This project is just a warmup to get you comfortable …