Write a dos-like shell on top of the bourne shell

Assignment Help Operating System
Reference no: EM13544078

(1) Write a DOS-like shell on top of the Bourne shell to satisfy the DOS users. Your program is invoked by and the familiar DOS prompt is displayed which shows the path of the current working directory.

You shell supports the following DOS commands: cd del ren more copy files copy file1 file2 xcopy xcopy/s xcopy /s deltree deltree/y deltree /y dir dir/w dir /w dir/p dir /p If the user command does not match any of the supported DOS commands, you shell should still send it to unix for execution.

(II) Write 2 sh scripts A. 'Makeusers' to create a bunch of user accounts on Linux. Reference to the Linux commands of adduser and useradd. Suppose a list of usernames is supplied in an ascii file 'classlist' as follows: tongf doej billw The script 'makeusers' will read the usernames from the file 'classlist' and create the 3 user accounts accordingly.

The script 'purgeusers' will read the usernames from the file 'classlist' and remove the 3 user accounts and the corresponding dirs and files accordingly.

Reference no: EM13544078

Questions Cloud

Define aqueous hydrochloric acid to form solid lead chloride : Solid lead(II) sulfide reacts with aqueous hydrochloric acid to form solid lead(II) chloride and dihydrogen sulfide gas. Express the answer in a balanced chemical equation with all phases identified.
Find the final speed of the two coupled railroad cars : A railroad car of mass M= 2000kg and speed(initial velocity) Vo= 8.50 m/s collides and couples to another car of equal mass and initially at rest, What is the final speed of the two coupled railroad cars
Explain the liberated ammonia was reacted with hcl : A typical protein contains 16.2 wt% nitrogen (N). A 0.500 mL sample of protein solution was decomposed, and the liberated ammonia (NH3) was reacted with 10.00 mL of 0.02140 M HCl.
Calculate the power delivered by the force at given time : A particle of mass 4.75 kg moves from rest at t = 0 under the influence of a single force of magnitude 50.0 N. Calculate the power delivered by the force at time t = 3.40 s
Write a dos-like shell on top of the bourne shell : Write a DOS-like shell on top of the Bourne shell to satisfy the DOS users. Your program is invoked by and the familiar DOS prompt is displayed which shows the path of the current working directory.
Explain the chloride concentration alcl3 and nacl : What is the chloride concentration when 25ml of 0.1 M AlCl3 and 25 ml of 0.5 M NaCl are mixed together. Assume the volumes are additive.
How to calculate the delta g for the reactions : Calculate the delta G for each of the following reactions. State whether each reaction is spontaneous or non-spontaneous at standard conditions, and explain your reasoning.
Determine what is the acceleration up the ramp : A student moves a 35.0 kg box up a ramp inclined at 12 degrees with the horizontal. What is the acceleration up the ramp
Obtain the constant angular acceleration of the wheel : A wheel starts at rest and takes 3.00 s to rotate 37.0 revolutions at which points its angular velocity is 98.0 rad/sec. What is the constant angular acceleration of the wheel

Reviews

Write a Review

Operating System Questions & Answers

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Develop a user mode command interpreter

Develop a user mode command interpreter which support list-short.

  Memory allocation in operating system

Analysis and implementation of algorithms for memory allocation in operating system, Explain First- t and best- t methods are used in memory allocation in operating systems.

  Stand alone child process

Forking the child process

  Write a multi-threaded program

Write a multi-threaded program to solve producer and consumer problem

  Marginal and average cost curves

n a competitive market place (pure competition) is it possible to continually sell your product at a price above the average cost of production.

  Simulating operating systems scheduling

Simulate the long-term scheduler, the short-term scheduler and the I/O scheduler of the computer using the First-Come-First-Serve algorithm.

  Issues with trusted platform module

Research paper discussing the issues with Trusted Platform Module (TPM)

  Threads

Explain a complication that concurrent processing adds to an operating system.

  Design and programming

Use the semaphore methods to control the concurrency of the solution

  Virtual machines

Virtual machines supported by a host operating system

  Discuss an application that benefits barrier synchronization

Discuss an application that would benefit from the use of barrier synchronization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd