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

  Determine the various aspects of operating system

Determine the various aspects in which we can view an operating system in terms of the services provided also discuss the differences between the various types of the operating systems and what are the advantages and limitations of each type

  Question about vpn communications

Discuss how routers and firewalls and IDSs inspect inbound and outbound traffic and explain how we use those features to our benefits in securing the network.

  A small cpu with a 10-bit address bus

a small CPU with a 10-bit address bus. You need to connect a 64-byte PROM, a 32-byte RAM, and a 4-port I/O chip with two address lines. Chip selects on all chips are asserted high.

  Specify the order in which processes execute

Specify the order in which processes execute and determine the mean process turnaround time for each of the scheduling algorithms.

  Three-process 4 resource system

Give an example of a three-process 4 resource system that is in an unsafe state. Explain why it is in an unsafe state. How many more resources would need to be added to make it a safe state?

  Explain the elements and capabilities of a fault

Discuss briefly the network management software components and describe the elements and capabilities of a fault, configuration, accountingn and security server.

  Categorize the efficiency in terms

Consider the followimg nested loop contruct. Categorize the efficiency in terms of the variable n using "big-O" notation. Suppose the statements represented by the elipsis

  Currently the atm is idle

Currently the ATM is idle. Find the probabilities that, in 3 minutes, the ATM will be idle; will be serving one customer with no one in the queue; will be serving one customer with one customer waiting in the queue

  The number of data items being manipulated

A function of n, the number of data items being manipulated. For each expression, determine the dominant term and then classify the algorithm in big-O terms.

  Standards in the field of wireless networking

Do you consider that standards are beneficial in the field of wireless networking or do you feel they limit new technologies?

  1 given the following code and the assembler equivalent to

1. given the following code and the assembler equivalent to the rightfor i999 igt0 i-- xixiyiloopnbspnbsp

  Example for processor scheduling

Give a (specific) example for processor scheduling in which preemption helps improve performance. Now discuss the feasibility of designing a preemptive disk scheduling algorithm for a disk read workload in which each job has the same priority. Do ..

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