A.2.2 Pro Domain 2: Software

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

In this lab, you will use some system commands to explore the file system. Your task is to complete the following from Windows PowerShell: · Copy a file to a new folder. o Create a new folder in the E: drive named Graphics. o Copy D:\Graphics\cat.jpg to the E:\Graphics folder. · Use nslookup to query the DNS for the CorpServer server using its full name (CorpServer.CorpNet.com). o Answer Question 1. · Use chkdsk to check the file system on the D: Data volume. o Answer Question 2. · Use gpupdate to apply the latest Group Policy changes to your workstation. o Use gpresult /r to see which policies are applied to the workstation. o Answer Question 3. · Use Task Manager to identify the process ID (PID) for the Language Application; then use taskkill to stop that process. · Use net use to map the P: drive to the Personnel shared folder on CorpFiles. o Change to the P: drive to look at the folders on the drive. o Answer Question 4.

1. Create a new folder and copy a file into that folder. a. Right-click Start and select Windows Terminal (Admin) to open Windows PowerShell. b. At the PowerShell prompt, type E: and press Enter. c. Type dir or ls; then press Enter to view the folders.Notice that there are no folders or files on the drive. d. Type md Graphics and press Enter to create the Graphics folder. e. Type cd Graphics and press Enter to move to the Graphics folder. f. Type D: and press Enter to change to the D: drive. g. Type dir or ls; then press Enter to view the folders. h. Type cd Graphics and press Enter to move to the Graphics folder on the D: drive. i. Type copy cat.jpg E: and press Enter to copy the file from the D: drive to the E:\Graphics folder. j. Type E: and press Enter to change back to the E: drive. k. Type dir and press Enter.Notice that the cat.jpg file was copied. 2. Find the IP address of CorpServer. a. From the PowerShell prompt, type nslookup CorpServer.CorpNet.local and press Enter.CorpDC responds to the query with the IP address for CorpServer. b. From the top right, select Answer Questions. c. Answer Question 1. 3. Check for bad sectors. a. From the PowerShell prompt, type chkdsk D: and press Enter. b. Answer Question 2. 4. Update the computer's policies. a. From the PowerShell prompt, type gpupdate and press Enter. b. Type gpresult /r and press Enter. c. Answer Question 3. 5. Kill the Language Application task. a. Right-click Start and select Task Manager. b. Select the Details tab. c. Find the PID for the Language Application. d. From the PowerShell prompt, type taskkill /pid #### and press Enter.Notice that the Language Application was removed from the Task Manager window. e. Close Task Manager. 6. Map a drive to a folder on the server. a. From the PowerShell prompt, type net use P: \\CorpFiles\Personnel and press Enter. b. Type P: and press Enter. c. Type dir and press Enter. d. Answer Question 4. e. Select Score Lab.

You are the IT administrator for a small corporate network. The employee in the Marketing Group C office needs your assistance managing files and folders. In this lab, your task is to use the PowerShell tool to complete the following: IMPORTANT: Do NOT close the PowerShell window. If you do, you will need to restart the lab. · Create the D:\utilities\recover directory. · Delete the D:\software\arch98 directory and all of its files. · Set the following files to Hidden: o D:\software\apconf.exe o D:\cmdstrt.cfg o D:\strt.bat · Set the following files to Read-only. o D:\software\softcfg.cfg o D:\software\pixel.cfg

1. Create the D:\Utilities\Recovery folders. a. At the PowerShell prompt, type d: and press Enter to change the working directory to the D: drive. b. Type dir and press Enter to see the existing contents of the drive. c. Type md utilities\recover and press Enter to create the directory. d. Type dir and press Enter to verify that the d:\utilities folder was created. e. Type cd \utilities\recover and press Enter to verify that the folders were created. 2. Delete the D:\software\arch98 directory and all of its files. a. (Optional) § Type cd \software\arch98 and press Enter to verify that these folders exist. § Type cd \ and press Enter to change the working directory back to the root of the hard drive. § Type rmdir d:\software\arch98 and press Enter to delete the arch98 directory.The directory could not be deleted because it contains files. b. Type rmdir /? and press Enter to see a list of switches that can be used with the command. c. Type rmdir d:\software\arch98 switch and press Enter to delete the directory and all of its contents. d. Type Y and press Enter to confirm the deletion. 3. Set file attributes to hide the following files: o D:\software\apconf.exe o D:\cmdstrt.cfg o D:\strt.bat d. Type attrib /? and press Enter to see the syntax for using the command. e. Type attrib path\filename and press Enter.Which attributes are currently set for the file? f. Type attrib +h path\filename and press Enter. g. Type attrib path\filename and press Enter to verify that the file attribute was set. h. Repeat steps 3b - 3d for the remaining two files. 4. Set file attributes for the following files to Read-only: o D:\software\softcfg.cfg o D:\software\pixel.cfg c. Type CD \Software and then press Enter. d. Type attrib +r filename and press Enter to set the file to Read-only. e. Type attrib filename and press Enter to verify that the file attribute was set. f. Repeat steps 4b - 4c to set the additional file to Read-only.

You have shared a number of files located on your computer with other employees in your company. This has been working fine. However, when you came in the office today, you received a number of calls from users who say they can't connect to your shared files. After checking your computer, you find that the Ethernet cable was unplugged. You have now plugged the Ethernet cable in, and now you need to start the network interface card. In this lab, your task is to: · Determine which network interface went down when the Ethernet cable was unplugged. · Start the network interface from the command line. · Verify that the network interface is up.

1. Determine which network interface went down when the Ethernet cable was unplugged. a. From the Favorites bar, select Terminal. b. From the Terminal prompt, run any of the following commands. Press Enter after typing in the chosen command. § ip addr § ip addr show § ip addr show enp2s0 § ifconfig -a 2. Start the network interface from the command line and verify that it is up. a. From the Terminal prompt, run any of the following commands. Press Enter after typing in the chosen command. § ifup enp2s0 § ip link set enp2s0 b. From the Terminal prompt, run any of the following commands. Press Enter after typing in the chosen command. § ip addr § ip addr show § ip addr show enp2s0 § ifconfig -a

In this lab, you will use the touch, vi, cp, mv, cd, ls, rm, and cat Linux commands to manage files from the command line. You are currently in the wadams home directory. In this lab, your task is to complete the following from a Terminal: · Delete the old_myfile.txt file. · Create the new_myfile.txt file. · Add some text of your choosing to the new_myfile.txt file. · View the changes made to the file. · Copy the new_myfile.txt file to the directory named practice. · Rename new_myfile.txt to final_myfile.txt.

1. From the wadams home directory, use the rm command to delete the old_myfile.txt file. a. From the Favorites bar, select Terminal. b. From the Terminal prompt, type ls -l and press Enter to see a listing of the files in the directory. c. Type rm old_myfile.txt and press Enter. d. Type Y and then press Enter to remove the old_myfile.txt file. e. Type ls -l and press Enter to see that the old_myfile.txt file was removed from the directory. 2. Use the touch command to add the new_myfile.txt file. a. From the Terminal prompt, type touch new_myfile.txt and press Enter to create a new file in the wadams home directory. b. Type ls -l and press Enter to see that the new_myfile.txt file was created. 3. Use vi to add a line to the new_myfile.txt file. a. From the Terminal prompt, type vi new_myfile.txt and press Enter to use the vi editor to open the new_myfile.txt file for editing. b. Press the i key to enter insert mode in vi. c. From within the editor, type some text of your choosing. d. Press the ESC key. e. Type :wq and press Enter to save and exit the file. 4. Use the cat command to view the changes made to the new_myfile.txt file. a. Type cat new_myfile.txt and then press Enter to view the contents of this file. 5. Use the cp command to copy the new_myfile.txt file to the directory named practice. a. From the Terminal prompt, type cp new_myfile.txt /home/wadams/practice and press Enter to copy the new_myfile.txt file to the practice directory. b. Type cd practice and press Enter to move to the practice directory. c. Type ls -l and press Enter to see that the new_myfile.txt file is in the /home/wadams/practice directory. 6. Use the mv command to rename the new_myfile.txt file to final_myfile.txt. a. Type mv new_myfile.txt final_myfile.txt and press Enter to rename the new_myfile.txt file. b. Type ls -l and press Enter to see that the file name has changed.

Brenda Cassini (bcassini) is taking over payroll documentation for Will Adams (wadams). In this lab, your task is to give the bcassini user ownership of the /hr/payroll file.

1. Give the bcassini user ownership of the /hr/payroll file. a. From the Favorites bar, select Terminal. b. At the Terminal prompt, type chown bcassini /hr/payroll and press Enter to give bcassini ownership of the /hr/payroll file. c. Type ls -l /hr and press Enter to verify the change in ownership.

As a part of your daily maintenance, you scan for and kill any zombie processes on the system. In this lab, your task is to: · Use the ps aux command to find zombie processes. Zombie processes have a Z in the STAT column of the ps aux output. o Use the up/down arrows to view all the processes. · Use kill -9 PID to terminate the zombie processes.

1. Use the ps aux command to find zombie processes. a. From the Favorites bar, select Terminal. b. At the Terminal prompt, type ps aux | less to view the list of processes. c. Use the up/down arrows to find the processes with a status (STAT) of z. d. Type q to exit the process list and return to Command Prompt. 2. Terminate the zombie processes found. a. Type kill -9 1301 and press Enter. b. Type kill -9 1570 and press Enter. c. Type kill -9 1980 and press Enter.

The sales team uses the /sales directory to store documents related to sales, contacts, and orders. Currently, permissions on the directory only allow the user and group owners to view the directory and list its contents. As part of a new company policy to increase teamwork, you want to allow all users to be able to see the /sales directory and list its contents. You also want to let all users open any document inside that directory, but you don't want them to make changes to documents. In this lab, your task is to: · Allow the Other group to browse the /sales directory. · Modify permissions on all files in the /sales directory to allow members of the Other group to view the file, but prohibit them from changing it.

1. View the current rights for the /sales directory. a. From the Favorites bar, select Terminal. b. At the Terminal prompt, type CD / and then press Enter to go to the root of the system. c. Type ls -l and then press Enter. d. From the upper right, select Answer Questions. e. Answer Question 1. 2. Give Other the rights needed to browse the /sales directory. a. At the prompt, type chmod o+rx /sales and then press Enter to enable the Other group to browse the /sales directory. b. Type ls -l and then press Enter to verify the change.Notice that the /sales directory now has the read and execute (r-x) permission. The read and execute permissions are necessary to see the directory and list its contents. 3. Give Other the permissions to read all documents in the /sales directory. a. From the prompt, type ls -l /sales and then press Enter. b. From the upper right, select Answer Questions. c. Answer Question 2. d. At the prompt, type chmod o+r /sales/* and press Enter to allow the Other group to read all documents in the /sales directory. e. Type ls -l /sales and press Enter.Notice that Other now has read permissions (r--) for all documents in the /sales directory. f. Select Score Lab.


संबंधित स्टडी सेट्स

Business Communications quiz (chap. 4-8)

View Set

California: Real Estate Principles - Chapter 1

View Set

Wk 1 - Practice: Ch. 1, What Do We Mean by Leadership?

View Set

MKT 3413- CH. 4, MKTG 4154 Exam 1

View Set

Paediatrics unit 1: Ontogenetic development of maxillofacial region

View Set