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
Write UNIX commands to perform the following tasks. Each task must use exactly one line of...
Write UNIX commands to perform the following tasks. Each task must use exactly one line of command. Unless stated otherwise, all files are assumed to be at your current working directory. a) (10 points) Print your current working directory into a file named file1 b) (10 points) Assume that your current working directory is NOT the same as your home directory. Print all file and subdirectory names of your home directory into a file named file2. c) (15 points) Copy...
If possible, please answer all 4 questions. Thanks! :) 2. Which of the following can be...
If possible, please answer all 4 questions. Thanks! :) 2. Which of the following can be used to automatically obtain software packages from Internet software repositories? (Choose all that apply.) a. yum b. get c. apt-get d. yast -i 3. What command can you use to rebuild the RPM database? 4. You have downloaded the source code for a program that you wish to compile. Which command must you first run in the source code directory? a. ./configure b. make...
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...
In requirements gathering( Software engineering) you use these techniques: Inception (software engineers use context-free questions to...
In requirements gathering( Software engineering) you use these techniques: Inception (software engineers use context-free questions to establish a basic understanding of the problem, the people who want a solution, the nature of the solution, and the effectiveness of the collaboration between customers and developers) Elicitation (find out from customers what the product objectives are, what is to be done, how the product fits into business needs, and how the product is used on a day to day basis) Elaboration (focuses...
QUESTION 1 The Matrix Indexing System consists of these activities: Merging information from three sources: (1)...
QUESTION 1 The Matrix Indexing System consists of these activities: Merging information from three sources: (1) an electronic bibliographic database, such as MEDLINE; (2) reference management software, such as RefWorks, EndNote, or ProCite; and (3) the Documents folder within your Lit Review master folder; expanding the Documents folder in your Lit Review master folder; and updating a review of the literature. True False QUESTION 2 If you set up your initial review of the literature using the Matrix Method, you...
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...
Facebook vs GPA - Clustering: You will need to use software to answer these questions. Below...
Facebook vs GPA - Clustering: You will need to use software to answer these questions. Below is the scatterplot, regression line, and corresponding data for the weekly Facebook hours and College GPA's of 8 randomly selected students. You should notice something odd about the scatterplot.           index Facebook College Hours (x) GPA (y) 1 1.0 3.3 2 1.5 3.0 3 2.0 3.2 4 2.2 2.9 5 5.0 2.3 6 5.5 2.0 7 6.0 2.2 8 7.5 2.1 You should be...
(M/M/c) model - use the qtsPlus or other software to answer the questions. Now, you decided...
(M/M/c) model - use the qtsPlus or other software to answer the questions. Now, you decided to hire one more cashier, so the store has two cashiers. Customers arrive at the cashier counter according to a Poisson process, which is same as the question 1. The arrival rate is 18 customers per an hour. Customers are served in order of arrival (FCFS: first come first service). The service time (i.e. the time needed for scanning and paying) is exponentially distributed....
Use the following information to answer the two questions below. State of                               P
Use the following information to answer the two questions below. State of                               Prob. of the                        Rate of return if state occurs the economy                      state of economy                    Stock A         Stock B Boom                                            0.40                             0.12               0.04 Bust                                               0.60                             0.02               0.04 You MUST use 4 digits in every calculation you do in order for your answer to be the same as the one in the system. Enter answer using 4 decimals. Do not use or enter...
Using the data below. Answer the following questions. Use Total fat as the x-vable and calories...
Using the data below. Answer the following questions. Use Total fat as the x-vable and calories as the y. Round to 2 decimal places. What is the line of best fit? Is this a good fit? How do you know? Is the correlation positive or negative? What does the r-squared mean in context of the problem? If a sandwich has 32 grams of fat, how many total calories will it have? Sandwich Total Fat (g) Total Calories Hamburger 9 260...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT