Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( 1 0 pts ) Write a simple shell script to move ( rename ) all * . PDF files under the current directory (

(10 pts) Write a simple shell script to move (rename) all *.PDF files under the current directory (if any) to *.pdf, e.g.,
move test.PDF to test.pdf
move hello.PDF.PDF to hello.PDF.pdf
move .hello.PDF.PDF to .hello.PDF.pdf
and report each action, otherwise just report there are no *.PDF files.
This_section helps the problem.
(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;
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 CSC4420 shell
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Handbook Of Database Security Applications And Trends

Authors: Michael Gertz, Sushil Jajodia

1st Edition

1441943056, 978-1441943057

More Books

Students also viewed these Databases questions