Ask Computer Engineering Expert

Assignment: Role of Operating Systems and Command Line Interface

Purpose of the assessment (with ULO Mapping) This assignment assesses the following Unit Learning Outcomes; students should be able to demonstrate their achievements in them.

a. Describe the role of Operating Systems (OS) and its different subsystems in controlling computer hardware
b. Demonstrate competency in the use of a command line interface to operate and perform simple OS administration

Section 1: Operating Systems

I. List ?ve services provided by an operating system(OS). Explain how each service provides convenience to the users. Can some of the OS services be provided by user level programs?

II. To which extent are the two OS's (Linux/Unix and Windows)essentially the same and importantly different?

III. Discuss multiprocessing systems and explain how multiprocessing increases the utilisation of resources.

IV. Illustrate the concept of batch processing operating system.

Section 2: OS Administration using Command Line Interface (CLI)

Q1. Directory Navigation

Manipulate directory structures.
1. Create a new subdirectory called MN404-temp in your home directory.
2. Create a new subdirectory called assign1 in MN404-temp.
3. Create a new subdirectory called assign2 in MN404-temp.
4. Display the contents of the directory MN404-temp.
5. Delete the directory assign2.
6. Display the contents of the directory MN404-temp
7. Change your current working directory to MN404-temp.
8. Create a new subdirectory called assign2 in MN404-temp.
9. Create a new file called MyFile.txt using the touch command and insert two lines into the file.
i. The first line should be a sentence that tells me your favourite movie.
ii. The second line should be a sentence that tells me your favourite food.
10. Display the contents of the file MyFile.txt to the standard output (screen).
11. Copy the file MyFile.txt to directory assign1 and rename it to t_1.txt.
12. Change your working directory to assign1.
13. Make a copy of t_1.txt with the name t_2.txt (in the same directory).
14. Display the contents of the directory assign1.
15. Copy the t_1.txt file to directory assign2.
16. Display the contents of the directory assign2.

Q2: Manipulate files using wildcards.

1. Change your current working directory to MN404-temp. (Stay in this directory for the rest of the steps in question 2)
2. Create a new directory called assign3 in your working directory.
3. Create 9 new files (in directory assign3) named as follows:
i. Test_1.txt
ii. Test_2.txt
iii. Test_1-1.txt
iv. Test_2-1.txt
v. Test_1-2.txt
vi. Test_2-2.txt
vii. Test_1-1.bak
viii. Test_2-2.bak
ix. File_1.bat

4. Display a listing of all the files in the working directory.

5. Display a listing of all the files ending in txt using one command.

6. Display a listing of all the files ending in t using one command.

7. Copy all the files containing "t_1" to the directory assign3 using one command.

8. Display a listing of the contents of the directory assign3.

9. Create a read-only file in your home directory.

10. How will you find which operating system your system is running on in UNIX?

Q 3: Use the man command to first learn the syntax and parameters for the commands du, wc and date, and then use the commands as follows:
1. Print the newline count, the byte counts and the longest line length for the file MyFile.txt in the directory MN404-temp.
2. Print the current date using the default format.

Note: Its good idea to replace the names of the following directories, sub-dir, files etc. with unique identities to reduce the similarity percentage.

1. Subdirectory MN404-temp with your MIT ID.
2. MyFile.txt with yourname.txt
3. t_1.txt with your last name
4. t_2.txt with your initials
5. Filenames in Question 2 with your friends first names
6. Directories assign1, assign2 and assign3 with your first names and appending 1 2 and 3 respectively.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92790138
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Does bmw have a guided missile corporate culture and

Does BMW have a guided missile corporate culture, and incubator corporate culture, a family corporate culture, or an Eiffel tower corporate culture?

Rebecca borrows 10000 at 18 compounded annually she pays

Rebecca borrows $10,000 at 18% compounded annually. She pays off the loan over a 5-year period with annual payments, starting at year 1. Each successive payment is $700 greater than the previous payment. (a) How much was ...

Jeff decides to start saving some money from this upcoming

Jeff decides to start saving some money from this upcoming month onwards. He decides to save only $500 at first, but each month he will increase the amount invested by $100. He will do it for 60 months (including the fir ...

Suppose you make 30 annual investments in a fund that pays

Suppose you make 30 annual investments in a fund that pays 6% compounded annually. If your first deposit is $7,500 and each successive deposit is 6% greater than the preceding deposit, how much will be in the fund immedi ...

Question -under what circumstances is it ethical if ever to

Question :- Under what circumstances is it ethical, if ever, to use consumer information in marketing research? Explain why you consider it ethical or unethical.

What are the differences between four types of economics

What are the differences between four types of economics evaluations and their differences with other two (budget impact analysis (BIA) and cost of illness (COI) studies)?

What type of economic system does norway have explain some

What type of economic system does Norway have? Explain some of the benefits of this system to the country and some of the drawbacks,

Among the who imf and wto which of these governmental

Among the WHO, IMF, and WTO, which of these governmental institutions do you feel has most profoundly shaped healthcare outcomes in low-income countries and why? Please support your reasons with examples and research/doc ...

A real estate developer will build two different types of

A real estate developer will build two different types of apartments in a residential area: one- bedroom apartments and two-bedroom apartments. In addition, the developer will build either a swimming pool or a tennis cou ...

Question what some of the reasons that evolutionary models

Question : What some of the reasons that evolutionary models are considered by many to be the best approach to software development. The response must be typed, single spaced, must be in times new roman font (size 12) an ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As