Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Operating Systems Fundamental.

Lab exercise 2

Welcome to the Command Line Basics Exercises!

Using the help operation, screenshot the answers to the following commands.

COMMAND Description
ARP Address Resolution Protocol
ATTRIB Change file attributes
BROWSTAT Get domain, browser and PDC info
BCDBOOT Create or repair a system partition
CALL Call one batch program from another
CD Change Directory - move to a specific Folder
CHANGEPK Upgrade device Edition/Product Key
CIPHER Encrypt or Decrypt files/folders, overwrite data.
CMD Start a new CMD shell
CMDKEY Manage stored usernames/passwords
COMPACT Compress files or folders on an NTFS partition
DATE Display or set the date
DEFRAG Defragment hard drive
DNSCMD Manage DNS servers
ECHO Display message on screen
EXPLORER Open Windows Explorer
FC Compare two files
GPRESULT Display Resultant Set of Policy information
GPRESULT /R Display Resultant Set of Policy information - OS
HOSTNAME Display the host name of the computer
IPCONFIG Configure IP
LGPO Local Group Policy Object utility
LOGMAN Manage Performance Monitor logs
MSIEXEC Microsoft Windows Installer
MSTSC Terminal Server Connection/Remote Desktop Protocol(RDP)
NETSTAT Display networking statistics (TCP/IP)
PING Test a network connection
PsLogList Event log records (PowerShell)
REGEDIT Import or export registry settings
REGSVR32 Register or unregister a DLL
SLMGR Software Licensing Management
SYSTEMINFO List system configuration
TIME Display or set the system time
TRACERT Trace route to a remote host
TZUTIL Time Zone Utility
VER Display version information
WHOIS Lookup the registration record for a domain
WINMGMT Manage the WMI service/WMI repository
WT Windows Terminal
XCOPY Copy files and folders
CLS Clear the screen

Lab 2: 23/03/2024 nham


1. Which command shows or updates the time?

2. Which command shows or changes the date?

3. Which time command switch would you use just to see the time?

4. Which date switch would you use to just see the date?

5. Explain what the cd . operation means.

6. Explain what the cd .. operation means.

7. What happens when you type DIR?

8. What does the command DIR /W do?

9. What switch do you use with DIR to sort the output by name?

10. How do you display files and directories including subdirectories?

Lab Deliverable: Upload the completed PDF Document report in week 3

Lab 2: 23/03/2024 nham

You might also like