Fundamentals of Operating Systems and Java Programming
Assignment 1 Specifications
Section 1: Operating Systems
- An operating system consists of four essential subsystem managers such as Memory Manager, Processor Manager, Device Manager and File Manager. When a user executes a command explain with a flow chart how these managers cooperate with each other to get a job done.
- Research the Internet or current literature to identify an operating system that runs a cell phone or handheld computer. (These are generally known as mobile operating systems.) List the key features of the operating system and the hardware it is designed to run. Cite your sources.
- Name the five key concepts about an operating system that you think a novice user needs to know and understand.
- Give an example of an organization that might find batch-mode processing useful and explain why?
- How does timesharing extend multiprogramming to provide for interactive computing by several users?
- To what extent are the two OS’s (Linux/Unix and Windows), are essentially the same and importantly different?
Section 2: OS Administration using Command Line Interface
- Directory Navigation
- Determine your current working directory
- List the contents of the current directory in long format.
- Create a directory called learning.
- Change the current working directory to the new learning directory.
- List the files in ‘learning’ in long format.
- Change the working directory back to your home directory.
- Remove the directory learning.
- Changing File Permissions
- Display the current file permissions on a file.
- Restrict access to a file by removing read permissions for group and other.
- Display the new files permissions on that file and observe the changes.
- Viewing Files
- List your files.
- View the file history using either less or more.
- Manipulating Files
- List the files in your home directory. Note that the file ‘old’ is one of the files in your home directory. If not create a file with name ‘old’.
- Copy old to a file called new. List your files to confirm that you have both old and new.
- Rename the file old to ancient. List your files to confirm that ancient and new exist.
- Remove the file ancient and then list your files to ensure it has been removed.
- Create a directory called myfolder. List your files to ensure that myfolder was created.
- Set your current working directory to myfolder. Do not, however, type in the entire name of the directory. Instead type the first two letters and use Tab completion to fill in the rest of the file name.
- Copy the file new from your home directory to myfolder.
- Using a wildcard, list all of the files that begin with the letter n.
- Return to your home directory.
- Remove the directory called myfolder and all of its contents. List your files to ensure that it was removed.
- Try the following command sequence:
- cd (to any directory you have)
- ls -al
- cd .
- cd ..
- ls -al
- cd ..
- ls -al
- cd ..
- cd /etc
- ls -al | more
- cat passwd
- cd –
Experiment with the options on the ls command. What do the d, i, R and F options do?