2. Write a simple single thread CSC4420 shell, i.e., no concurrent commands, to support at least the following built-in commands: o 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 o hour: list class times room: list classroom location desp: list the description of this course o text: list the textbook ref: list the reference books prof: list the professor's name o pol professor's office location poh : professor's office hours opma : 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 history list history of events up to the number you set help list all the available commands • exit or quit : exit CSC4420 shell 0 0

LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
5th Edition
ISBN:9781337569798
Author:ECKERT
Publisher:ECKERT
Chapter11: Compression, System Backup, And Software Installation
Section: Chapter Questions
Problem 3DE
icon
Related questions
Question

Please do this as Shell.sh and show screenshot of the output

2.
Write a simple single thread CSC4420 shell, i.e., no concurrent commands, to
support at least the following built-in commands:
o 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
room list classroom location
desp: list the description of this course
o text: list the textbook
ref: list the reference books
prof: list the professor's name
o pol: professor's office location
poh professor's office hours
o 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
history list history of events up to the number you set
help list all the available commands
• exit or quit : exit CSC4420 shell
0
Transcribed Image Text:2. Write a simple single thread CSC4420 shell, i.e., no concurrent commands, to support at least the following built-in commands: o 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 room list classroom location desp: list the description of this course o text: list the textbook ref: list the reference books prof: list the professor's name o pol: professor's office location poh professor's office hours o 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 history list history of events up to the number you set help list all the available commands • exit or quit : exit CSC4420 shell 0
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Knowledge Booster
Terminal Threads
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L