Ask Operating System Expert

Fundamentals of Operating Systems and Programming

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 five 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?

Q3: 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.

Operating System, Computer Science

  • Category:- Operating System
  • Reference No.:- M92802281
  • Price:- $50

Priced at Now at $50, Verified Solution

Have any Question?


Related Questions in Operating System

Research types of operating systems that are currently

Research types of operating systems that are currently available and provide a scenario in which the operating system you chose would be appropriate to be used in this situation. Explain why you think the choice you made ...

Question research hex editors available for mac os and

Question : Research hex editors available for Mac OS and Linux. Based on the documentation, how easy would validating these tools be? Select at least two hex editors for each OS, and discuss what you would do to validate ...

Foundation of information technologyresearch types of

Foundation of Information Technology Research types of operating systems that are currently available and provide a scenario in which the operating system you chose would be appropriate to be used in this situation. Expl ...

Assignment -building a multi-threaded web server using c

Assignment - Building a multi-threaded web server using C and p threads, following the model from the lecture. Your program will have one thread acting as a dispatcher thread, listening fornetwork connections with reques ...

Question you are a security administrator responsible for

Question: You are a security administrator responsible for providing secure configuration requirements for new laptop deployments. After reading Module 2 of Certified Secure Computer User v2exercises, apply the configura ...

Question what do you see as the major differences between

Question : What do you see as the major differences between UNIX/Linux and other operating systems, such as Windows and Mac OS X? The response must be typed, single spaced, must be in times new roman font (size 12) and m ...

Question description of lasa in this assignment you will

Question: Description of LASA: In this assignment, you will select a real-world operating system (can be for a PC, server, tablet, handheld, or embedded device). You will introduce the operating system and its components ...

Discussion question this research assignment will give

Discussion Question : This research assignment will give further information on the nature and workings of multi-tasking and multi-processing operating systems. All information reported in this assignment is to be in the ...

Taskyour job in this assignment is to create two virtual

Task Your job in this assignment is to create two Virtual machines each running a different but the latest distribution of Linux e.g. Ubuntu Server and CentOS. Each of these VM's is to offer services to a user base. The ...

State the required answer precisely and then provide proper

State the required answer precisely and then provide proper explanation. It is not enough to provide one- word or one-line answers. Briefly describe the following concepts and indicate how they are related in the context ...

  • 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