Question

Read Lab2 System Software, then answer the following questions. For answering the questions, you may use...

Read Lab2 System Software, then answer the following questions. For answering the questions, you may use any resource including the lab exercise, the textbook, or the internet.

  1. Do we still need to use Terminal? If so, for what?

  1. Suppose you are using Terminaland are currently in the Desktopfolder. Write the command to create a folder called: myname

  1. Suppose you are using Terminal. Write the Terminalcommand to display the contents of folder myname

  1. Suppose you are using Terminal. Write the Terminalcommand to delete all files with .ppt extension in folder myname
  1. Suppose you are using Terminal. Write the Terminalcommand to rename file1.doc to file2.txt

  1. What is the function of ipconfigcommand? Give example.

  1. What command is used to list all files including the hidden files under the current working directory?

  1. Write the command to display MAC OS version?

  1. What is the IP and MAC (Media Access Control) addresses of your computer? Write the command you used to display them.

  1. Can you run Apple operating system on Windows operating system or vice versa? Explain.

Reflection – Discuss the System Software Lab (Restate the overall purpose of the lab, what were the significant findings? What resources did you use to investigate answers, etc.)

Homework Answers

Answer #1

: Solution ::

ANSWERS

ANS 1.
The terminal is an essential application provided by operating systems like Mac and Linux. The Microsoft Windows operating system also provides its own command line but its not as powerful as the one provided by Unix based Operating systems.

  • The terminal provides an easy to access interface to some of powerful features of the operating system.
  • The shell allows us to operate in a working directory and navigate the file system.
  • It allows us to easily create, copy, move and delete files in a straightforward manner.
  • The terminal can also be used to run programs and execute commands. We can even chain multiple commands together to perform complex operations from a single interface.
  • The shell has its own scripting language which allows us to create executable files with commands which in turn can be used to automate common tasks.

ANS 2.

To create a new folder, we use the mkdir command. So the required command is:

mkdir myname

Here initially we had only the folder "important" on the desktop. After we executed the mkdir myname command, the myname folder was created on the desktop.

ANS 3.

To display the contents of a folder using command line, we use the "ls" command. So the required command is:

ls myname


Here the myname folder contains only one file i.e., sample.txt.

ANS 4.

To delete a file we use the "rm" command. To delete all files with .ppt extention we will have to use "wildcards".

The required command is:

rm *.ppt

Here " * " is a wildcard which selects all the files with .ppt extension and rm command deletes those files.

Notice that we intially had file1.ppt file2.ppt, file3.ppt, example1.ppt along with sample.txt but after executing "rm *.ppt" only sample.txt remains and all the files with the extension .ppt are removed.

Ans 5

To rename a file we use the "mv" command as follows.

mv file1.doc file2.txt

ANS 6.

The ipconfig (short for IP Configuration) is a Windows network command utility.
ipconfig command is usually used to determine the IP address of the system, subnet mask, gateway address and current TCP/IP configuration.
It is also used to refresh the Dynamic Host Configuration Protocol(DHCP) and Domain Name System(DNS) settings.


Here are some example commands with screenshots:

1.

ipconfig /?

this command shows the help message and the details of the options available for use with ipconfig command.

2.

ipconfig /all

this command provides the TCP/IP network details of all the network adapters on a computer.

3.

ipconfig /displaydns

this command lists all the cached IP address on the system.

ANS 7.

To list files in a directory we used ls command. The ls command can also accept certain options which affect the output of this command. To list all the files in a folder including hidden files, we use the ls command with -a switch.

ls -a myname

Notice that output of ls -a is different from the output of ls. Also, note that "." before a filename hides the file in linux. So .hidden is a hidden file which is listed using "ls -a myname".

ANS 8.

To display the MAC OS version we use the following command.

sw_vers -productVersion

ANS 9.

The ip address can be determined using "ip a" command on linux and on windows using ipconfig /all.

Notice that the ip address is highlighted in the screenshot below:

The same command shows the MAC address as well (highlighted in the screenshot below)

The IP address is marked in green and MAC address in red in the picture below:

You can determine the mac address in Windows by the ipconfig /all command as shown in the above screenshot above  OR "getmac" command as shown below:

ANS 10.

The Windows Operating System can be run on Apple Operating System by using virtualization program like VMWare or using the Apple's built in BootCamp program to partition the hard drive to dual boot Windows OS.
While on the other hand Apple Operating System(Mac OS) is tightly coupled with Apple's Hardware. The End User License Agreement(EULA) for OS X, allows the use of OS X on Mac Hardware only.
Thus, Windows PC can run Apple OS but it is not legal to do so (althoug there are patched versions of MAC OS available which is illegal).

SOURCES: Internet, The Linux Command Line by William Shotts (Available as book as well as website)

Please rate my answer. Thank you...

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Description: You will develop a small "text-based shell utility" ("ts") for Unix (or similar OS). A...
Description: You will develop a small "text-based shell utility" ("ts") for Unix (or similar OS). A common complaint of the most-used UNIX (text) shells (Bourne, Korn, C) is that it is difficult to remember (long) file names, and type "long" command names. A "menu" type shell allows a user to "pick" an item (file or command)from a "menu". You will display a simple menu, the following is a suggestion (you may change format): Current Working Dir: /home/os.progs/Me It is now:...
Use your calculator to answer the questions below. Be sure to write the command you used...
Use your calculator to answer the questions below. Be sure to write the command you used and the values you entered. Based on long-term investigations, researchers have suggested that the pH level of rainfall in the Shenandoah Mountains can be described by the Normal model ? 4.9, 0.6 . (3 points each) a) What percent of storms produce rainfall with a pH level over 6? b) What percent of storms produce rainfall with a pH level under 4? c) What...
****NOTE YOU MUST USE SYSTEM CALL I/O, meaning STANDARD I/O IS NOT ALLOWED THIS MEANS THAT...
****NOTE YOU MUST USE SYSTEM CALL I/O, meaning STANDARD I/O IS NOT ALLOWED THIS MEANS THAT YOU CANT USE fopen, fclose , etc *****You are ONLY ALLOWED TO USE SYSTEM CALL I/O such as read, write, open and close (System I/O functions) You will write a C program and the way to use it on command line is as follows: ./myprogram file a t   newfile where both file and newfile are text files, “a” is a single character ( of...
Question 11 Interrupt handlers are small pieces of software. Their purpose is: A. to translate instruction...
Question 11 Interrupt handlers are small pieces of software. Their purpose is: A. to translate instruction between the screen and the operating system. B. to translate instruction between the hardware components and the CPU. C. to translate instruction between the hardware components and the operating system. D. None of the above. Question 12 What features are contained in a folder window? A. tabs at the top that display the ribbon with multiple commands. B. address bar below the ribbon. C....
When answering the provided questions, you must ensure that your answers address the questions, that your...
When answering the provided questions, you must ensure that your answers address the questions, that your answers have an Australian accounting/financial reporting focus, that your answers are internally consistent, and that the individual components of your answers provide a well-rounded argument that is easy to follow. The Chief Financial Officer (CFO) of Large Mart has been unable to find answers for two accounting problems. He has asked you to investigate the following questions and to write a report (including relevant...
Use the following information to answer questions 11-13 An ANOVA test is conducted to compare three...
Use the following information to answer questions 11-13 An ANOVA test is conducted to compare three different income tax software packages to determine whether there is any difference in the average time it takes to prepare income tax returns using the three different software packages. Ten different individuals' income tax returns are done by each of the three software packages and the time is recorded for each. Because individual tax returns are different the analysis has decided to block on...
Required information [The following information applies to the questions displayed below.] NOTE: Throughout this lab, every...
Required information [The following information applies to the questions displayed below.] NOTE: Throughout this lab, every time a screenshot is requested, use your computer's screenshot tool, and paste each screenshot to the same Word document. Label each screenshot in accordance to what is noted in the lab. This document with all of the screenshots included should be uploaded through Connect as a Word or PDF document when you have reached the final step of the lab. In this lab, you...
Introduction Purpose Your goal is to create a design for a software interface. You will experience...
Introduction Purpose Your goal is to create a design for a software interface. You will experience the scope of the design process from brainstorming ideas and gathering information about users’ needs to storyboarding, prototyping, and finally, testing and refining your product. As you work on the software interface, you will demonstrate your ability to apply fundamental Human-Computer Interaction principles to interface analysis, design, and implementation. You will be responsible for delivering project components to your professor at several points during...
READ THE CASE STUDY AND ANSWER THE FOLLOWING QUESTIONS 2nd CASE: An Unexplained Death A 65-year-old...
READ THE CASE STUDY AND ANSWER THE FOLLOWING QUESTIONS 2nd CASE: An Unexplained Death A 65-year-old man of Scandinavian descent was rushed to the Emergency Room of your local hospital after a family member discovered him unconscious in his home. The woman who dialed “911” told the dispatcher that the man, her brother, was the local librarian of the past 10 years and had no spouse or children. She reported that they had spoken the day before, and he had...
Answer the following questions. Select which concept applies: delegation, prioritization, assignment (more than one may apply)....
Answer the following questions. Select which concept applies: delegation, prioritization, assignment (more than one may apply). Provide a rationale for each answer possible as to why it is or is not correct and be specific with factual information using research when needed. A. Which client assignment made by the charge nurse on a critical care unit is most appropriate for a nurse who is 3 months pregnant? The client who is receiving outpatient chemotherapy who is immunosuppressed The client who...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT