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


(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.

Solution Preview :

Prepared by a verified Expert
Operating System: Write a dos-like shell on top of the bourne shell to
Reference No:- TGS0812008

Now Priced at $70 (50% Discount)

Recommended (96%)

Rated (4.8/5)