Question: Fun with shells due on Jan. 3 1 , 2 0 2 4 , by 3 : 0 0 pm on Canvas. ( 1 0
Fun with shells
due on Jan. by :pm on Canvas.
pts Write a simple shell script to move rename all PDF files under the current directory if any to pdf eg
move test.PDF to test.pdf
move hello.PDFPDF to hello.PDFpdf
move hello.PDFPDF to hello.PDFpdf
and report each action, otherwise just report there are no PDF files.
This section helps the problem.
pts Write a simple single thread CSC shell ie no concurrent commands, to support at least the following builtin commands:
prompt can set to any string you input, in addition to the current history event number, ieh as in csh;
url : list the course web site
hour : list class times
room : list classroom location
desp : list the description of this course
text : list the textbook
ref : list the reference books
prof : list the professor's name
pol : professor's office location
poh : professor's office hours
pma : professor's email address
ta : list the TA's name
tol : TA's office location
toh : TA's office hours
tma : TA's email address
history : list history of events up to the number you set
help : list all the available commands
exit or quit : exit CSC shell
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
