Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Operating System Expert

I. Multiple Choice

1. By convention, how are configuration files separated from regular files? (NOTE: A practical effect of the separation is that they are not displayed by the default version of the ls command)
a. the prefix "rc" (rc.filename) c. the extension .cfig
b. a dot (.) at the beginning d. by having the SUID bit set

2. The IP address which is reserved for local loopback (equivalent to "localhost") is:
a. 255.255.255.0 c. 192.168.70.1
b. 127.0.0.1 d. 1.0.0.0

3. Which of these commands is used as a basic test of the network connection to another machine?
a. testroute c. ethereal
b. findhost d. ping

4. Which of these terms refers to those processes which run in the background waiting for work? (NOTE: They frequently are used to respond to network requests.)
a. daemons c. waiters
b. imps d. scripts

5. Which of these commands provides basic information about a machines network interface(s)?
a. netconfig c. catnet
b. setconfig d. ifconfig

6. What is the common name of the protocol which identifies computers using 128-bit addresses, and which soon may replace the existing Internet Protocol?
a. IP-128 c. IPv6
b. DHCP d. XMLIP

7. Which command allows you to cancel a job which has been scheduled for a future time?
a. cancel c. kill
b. unset d. atrm

8. If you were logged in as a user named flashgordon, which of these commands would return you to your home directory? (NOTE: You may assume that the user's home directory resides within the/home system directory for this question.)
a. cd c. cd ~
b. cd /home/flashgordon d. all of the above

9. When a device is formatted to use the extended-x (2 or 3 or 4) filesystem, a directory is created at the top of that filesystem. What is the name of that directory?
a. lost+found c. A:
b. C: d. floppy

10. Which of these commands will display information about currently-mounted filesystems?
a. mke2fs c. df
b. umount d. all of the above

11. Which of these options to the tar command allows the user to specify the name of the output file?
a. --name c. -f
b. -n d. --output

12. Which of these commands will display the contents of a compressed file without forcing the user to first save an uncompressed copy to disk?
a. zcat c. gzip --display
b. catzip d. less -z

13. Which of these algorithms is an example of "lossy" compression?
a. zip c. JPEG
b. gzip d. tar

14. What information is displayed by the command man 5 fstab?
a. the first five lines of the man page on the fstab command
b. information about both the 5 command and the fstab command
c. information about the file named fstab
d. information about version 5 of the fstab command

15. Which of these commands will create an archive of the home directory of a user named dalearden?
a. tar -xvf darden.tar /home/dalearden
b. tar -xvf /darden.tar
c. tar -cvf darden.tar /home/dalearden
d. tar -uvf /home/dalearden darden.tar

16. Which of these options to the ls command will give the inode number assigned to a file?
a. --physical c. --grid
b. -g d. -i

17. Which directory contains default configuration files to be copied into the home directory of a new user?
a. /etc/defaultuser c. /etc/skel
b. /home/default d. /usr/def.conf

18. Which of these commands allows you to schedule a job for a specific time in the future?
a. at c. schedule
b. batch d. onetime

19. Which of these Open/LibreOffice applications is used to format the display of mathematical equations (as opposed to calculating the results)?
a. Impress c. Calc
b. Math d. Equate

20. Which of these commands is commonly used to show the contents of a single environment variable?
a.showvar c. display
b. echo d. environ

II. Short Answer

DIRECTIONS: Type the answer to each question in the blue box associated with it.

21. Write a command which will unmount a CD located in the device /dev/cdrom, formatted with the ISO-9660 filesystem, located at the mount point /media/cdrom.

22. Write a UNIX command which will re-direct a long listing of the /etc directory into a file named directory.txt (located in your current working directory).

23. Write a command which will back up the contents of /home/princessaura into a file named paura.tar.

24. Write a command which will compress the archive created in the previous question.

25. Write a piped command sequence which will display a long directory listing of the /etc directory on your screen one page at a time.

26. Describe the permissions assigned by the command chmod 600 file.txt.

27. What combination of Layer 3 and Layer 4 protocols is used to facilitate communication over the Internet.

28. What command would you use to remove job number 5 from your default print queue?

29. What is the absolute pathname of the file which defines aliases available to ALL users?

30. View the environment variables on your system. Name the one which identifies the version of BASH you are using.

Practicum

NOTE: These instructions were written with reference to version 12.04LTS of Ubuntu.

1. Boot your Ubuntu system, log in, and open a command shell. Change your identity to root.

2. Configure a new network printer for your computer using the IP address 192.168.1.101. Specify the connection as AppSocket/HP JetDirect, and choose a Brother DCP-8085DN printer. Use the "foomatic" driver for this printing device. Do not try to print a test page (it won't work).

3. Create a new user with the name princethun and a password of ardentia.

4. Open the package manager. Look at the System section, find tcsh (TENEX C-shell; you might want to use the search box); download and install that package.

5. Reboot your system; this time log in as princethun, and open a command shell.

6. Create two directories within that user's home directory: programs and records.

7. Edit the configuration file which is supposed to be used for login shells opened by princethun and add a line which will cause the programs directory to be included in his/her search path.

8. Edit the configuration file which is used at the opening of every BASH shell and create an alias named gorecs which will change the user's location to the records directory within the user's home directory.

9. At your command prompt, type the command which will start a new login shell. You will keep a couple of shells open during the exam, so refer to this one as the login window.

10. Open a web browser and navigate to our class web site. Save the emperorming.sh script in the programs directory.

11. Set the permissions on that file to read and execute for the owner, write and execute for the group owner, and all permissions for everyone else.

12. Open a new command shell - call this one the edit window - and in that shell change to the records directory. Once you are there, edit a file named planetX.txt. Type your full name at the top of the file, then on the next line enter the name of the course you are taking.

13. Skip a line, then type the command you will use to start the emperorming.sh script in the login shell. The command must include two extra elements: one to place the script in the background, and one to re-direct the script's output to a file in the records directory named merciless.txt.

14. On the lines below that command, answer these questions: Will you be forced to enter the absolute pathname of the script in order to make it run? Why or why not?

15. In the login window, run the command you described in planetX.txt.

16. Open a new command shell - call this one the top window. Use that shell to execute the top command and look for the emperorming.sh process. You may see a couple of them, but only one will have a persistent process ID; the other processes will step and restart, getting a new PID every time. In the planetX.txt file, record the persistent process ID and a rough estimate of the percentage of processor time it is occupying. Also record the amount of memory it is using.

17. In the planetX.txt file, describe how you will go about terminating the emperorming.sh process.

18. In the login shell use that command to terminate the process.

19. In your login window, change your identity to the root identity.

20. Change to the root user's home directory. In your edit window, skip a couple of lines then type the word ROOT and skip to the next line. Type the full pathname of the home directory of the root user, then move to the next line and type the command you used to change directories to that location. Save and close the planetX.txt file.

21. Use your login window (where you are known as root) to copy the file containing your printer-configuration information to the records directory. Note that you should probably modify the permissions on your copy in order to simplify the archiving process later.

22. Exit the root identity, so that you are once again princethun in your login window.

23. Copy the files which you modified in instructions 7 and 8 into the records directory.

24. Run a command which will display the configuration of your network-interface card. Run that command again, this time re-directing the output to a file named radio.txt located within the records directory.

25. Exit your login window and your top window. You should have one window left open at this point, your edit window (though you should no longer be in the editor). Your identity in that window should be princethun. If this is not true, make the necessary changes. Also make sure your working directory is princethun's home directory.

26. Create an archive containing the programs and records directories. Name the archive submission.tar.

27. Compress the archive using the gzip command.

28. Attach the submission.tar.gz file to the Practicum assignment item within Blackboard.

Attachment:- emperorming.rar

Operating System, Computer Science

  • Category:- Operating System
  • Reference No.:- M91796569
  • Price:- $60

Priced at Now at $60, Verified Solution

Have any Question?


Related Questions in Operating System

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

Show all stepssuppose that the following processes arrive

Show all steps Suppose that the following processes arrive for execution at the times indicated. Each process will run the listed amount of time. in answering the questions, use non-preemptive scheduling and base all dec ...

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

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. Consider a computer embedded in the control of a manned spacecraft. Would it require an ...

Question state the required answer precisely and then

Question : State the required answer precisely and then provide proper explanation. It is not enough to provide one- word or one-line answers. What is the purpose of the command interpreter? Why is it usually separate fr ...

Catalog course descriptionin this course students carry out

Catalog Course Description In this course students carry out independent research in a significant technical area of information, network, and computer security. The student is to investigate a technical area, research i ...

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

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

Question topic computerized operating systems os are almost

Question: Topic: Computerized Operating Systems (OS) are almost everywhere. We encounter them when we use out laptop or desktop computer. We use them when we use our phone or tablet. Find articles that describes the diff ...

Question note apa format 250 words and three reference

Question: Note: APA format 250 words and three reference without plagarism Computerized Operating Systems (OS) are almost everywhere. We encounter them when we use out laptop or desktop computer. We use them when we use ...

  • 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