Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a c + + 1 1 code ( that works in ubuntu ) . Simple Operating System Shell that can handle only some file

Write a c++11 code (that works in ubuntu).Simple Operating System Shell that can handle only some file operations. OS will have at most 10MB disk space. This OS space should be kept between the shell runs, it should not be deleted, it should remember the disk contents of the provious run. Write abase abstract class file. The class will have as many generic implementations are possible. There are three concrete file classes: directory, soft linked file and a regular file. Each file type provides an iterator that gives the file elements one by one. For regular files and the linked files, the entries are regular file bytes. For directories,the elements are directory entries.The commands, their parameters and definitions are given below. Make sure that your c++ code working.myShell
>1s
D., Dec 2500:42
> mkdir myDir
>ls
D., Dec 25,00:42
D myDir , Dec 2500:44
> cd myDir
> ls
D., Dec 2500:44
D.., Dec 2500:42
>cpetc? SomeFile.
> ls
D., Dec 2500:44
D.., Dec 2500:42
F SomeFile Dec 2500:4525345Bytes
The commands, their parameters and definitions are given below
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

Mobile Communications

Authors: Jochen Schiller

2nd edition

978-0321123817, 321123816, 978-8131724262

More Books

Students also viewed these Programming questions

Question

(2) An example of praise that you received badly or indifferently.

Answered: 1 week ago

Question

(1) An example of negative feedback that you received badly.

Answered: 1 week ago

Question

How well do you gain participation and involvement from the group?

Answered: 1 week ago