CITM301_Lab2 - Akash Brar Akashdeep

pdf

School

Toronto Metropolitan University *

*We aren’t endorsed by this school

Course

301

Subject

Computer Science

Date

Feb 20, 2024

Type

pdf

Pages

16

Uploaded by Aakashbrar48

Report
ITM301 LAB2 Akash Brar Akashdeep Windows Commands (2%) 1) At command prompt type in: nslookup www.microsoft.com Q1: What does nslookup command? - The `nslookup` command queries the Domain Name System (DNS) to obtain domain name or IP address mapping, or other DNS records such as MX (Mail Exchange) records. Q2: What message did you receive when running the above command? Non-authoritative answer: Name: e13678.dscb.akamaiedge.net Addresses: 2600:140a:5000:686::356e 2600:140a:5000:69f::356e 2600:140a:5000:685::356e 2600:140a:5000:6ad::356e 2600:140a:5000:688::356e 23.213.190.123 Aliases: www.microsoft.com www.microsoft.com-c-3.edgekey.net www.microsoft.com-c-3.edgekey.net.globalredir.akadns.net 2) Tasklist: The tasklist command is designed to provide information about the tasks (programs) that are running on your system. Enter the following command: tasklist Q1: What is the largest program running on your computer? The name and the size of the program is required. Name: Memory Compression Size: 332,316 K Q2: List the first four processes: Process name, Process ID (PID), session name and memory usage . 1. System Idle Process, PID:0, Session Name: Services, Mem Usage: 8 K 2. System, PID: 4, Session Name: Services, Mem Usage: 20 K 3. Registry, PID:148, Session Name: Services, Mem Usage: 31,960 K 4. Smss.exe, PID:572, Session name: Services, Mem Usage: 228 K 3) AT command prompt type in tasklist /SVC
Q: What is the main task of switch /svc in the above command? It showed the service hosted in each process. 4) What are the main functions of the following commands: - ipconfig /release : With this command, the system's network adapters' current IP address(es) are released. The network adapter notifies the DHCP server that it no longer requires the IP address it is now using when you release it, thus giving up its lease on that IP address. Until a fresh lease is secured from the DHCP server, the network adapter will normally return to utilizing an auto-configured IP address after releasing the IP address. - ipconfig /renew : This command makes the network adapter(s) ask the DHCP server for a fresh IP address lease. The network adapter notifies the DHCP server to request a new IP address lease when you renew the IP address. If the DHCP server is successful, the network adapter receives a new IP address, which it uses to update its network configuration. 5) At command type in: tree What does the above command do? It showed a graphical depiction of the folder structure, stretching from the current directory through all subdirectories. The directory tree structure with all of the files and subfolders within each directory is displayed by this command. Using ASCII characters, it showed the directory structure, with files in each directory appearing after the directories. This command helps see how files and folders are organized within a directory and its subdirectories . 6) At command prompt type in: Color FC What does the above command? - It changed the screen color to white and font color to red. Now type in: color 07 What does 07 in the above command? It revered the changes occurred in last step and changed the screen color to black and font color to white.
7) At command prompt type in: a) ipconfig /displaydns Print the screen that shows the DNS your DNS cache on local computer.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
b) type in: ipconfig /flushdns What happened with DNS cache? Print screen that shows your current DNS cache. - It cleared the contents of DNS resolver Cache.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
c) Open a browser window and go to the following sites: www.cengage.com, www.google.com , and www.ryerson.ca C1. Print the screen of your current DNS cache.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
C2. What is the IP address associated with the host record ( A record) of google.com? - 142.251.32.68
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
When you finished please submit your answers to Lab2 drop box folder.