Question: Fun with shells due on Jan. 30, 2022, by 3:00pm on Canvas. 1. (10 pts) Write a simple shell script to move (rename) all *

Fun with shells due on Jan. 30, 2022, by 3:00pm on Canvas. 1. (10 pts) Write a simple shell script to move (rename) all * MP3 files under the current directory (if any) to *mp3, e.g., move test. MP3 to test.mp3 move hello.MP3.MP3 to hello.MP3.mp3 move.hello.MP3.MP3 to hello.MP3.mp3 and report each action, otherwise just report there are no * MP3 files. 2. (20 pts) Write a simple single thread CSC4420 shell, i.e., no concurrent commands, to support at least the following built-in commands: . prompt can set to any string you input, in addition to the current history event number, i.e. %h as in csh; o url : list the course web site hour : list class times o room : list classroom location o desp: list the description of this course o text: list the textbook o ref: list the reference books prof: list the professor's name o pol : professor's office location poh : professor's office hours pma professor's email address o ta : list the TA's name o tol: TA's office location o toh : TA's office hours o tma: TA's email address o history : list history of events up to the number you set o help : list all the available commands o exit or quit : exit CSC4420 shell
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
