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.
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.)
: 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.
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...
Get Answers For Free
Most questions answered within 1 hours.