CSS - 05-Week 10 - Module 10 - What Is Command Prompt or CMD
CSS - 05-Week 10 - Module 10 - What Is Command Prompt or CMD
MODULE FOR
CSS_05: SETUP COMPUTER NETWORKS
ACTIVITY:
Answer the following questions on a sheet of paper:
PRE-TEST
1. What is a Command Prompt?
I. DISCUSSION:
Command Prompt is a command line interpreter application available in most Windows operating systems. It's
used to execute entered commands. Most of those commands automate tasks via scripts and batch files, perform
advanced administrative functions, and troubleshoot or solve certain kinds of Windows issues.
Command Prompt is officially called Windows Command Processor, but it's also sometimes referred to as the
command shell or cmd prompt, or even by its filename, cmd.exe.
Command Prompt is sometimes incorrectly referred to as "the DOS prompt" or as MS-DOS itself. Command
Prompt is a Windows program that emulates many of the command line abilities available in MS -DOS, but it's not
MS-DOS.
Command Prompt is available on every Windows NT-based operating system which includes Windows
10, Windows 8, Windows 7, Windows Vista, Windows XP, and Windows 2000, as well as Windows Server 2012,
2008, and 2003.
Windows PowerShell, an advanced command line interpreter available in recent Windows v ersions, supplements
the command executing abilities available in Command Prompt. Windows PowerShell may eventually replace the
Command Prompt in a future version of Windows.
To use Command Prompt, you enter a valid Command Prompt command along with any optional parameters.
Command Prompt then executes the command as entered and performs the task or function it's designed to
perform in Windows.
Here are some of the more commonly used Command Prompt commands that are utilized in a variety of
circumstances:
CMD COMMAND DESCRIPTON
1. Attrib The attrib command is used to change the attributes of a single file or a
directory.
2. Chkdsk The chkdsk command, often referred to as check disk, is used to identify and
correct certain hard drive errors.
3. Del The del command is used to delete one or more files. The del command is the
same as the erase command.
4. Dir The dir command is used to display a list of files and folders contained inside
the folder that you are currently working in. The dir command also displays
other important information like the hard drive's serial number, the total
number of files listed, their combined size, the total amount of free space left
on the drive, and more.
5. Diskpart The diskpart command is used to create, manage, and delete hard drive
partitions.
6. Exit The exit command is used to end the cmd.exe (Windows) or command.com
(MS-DOS) session that you're currently working in.
7. Format The format command is used to format a drive in the file system that you
specify. Drive formatting is also available from Disk Management.
8. Getmac The getmac command is used to display the media access control (MAC)
address of all the network controllers on a system.
9. Gpupdate
The gpupdate command is used to update Group Policy settings.
10. Help The help command provides more detailed information on any of the other
Command Prompt or MS-DOS commands.
11. Ipconfig The ipconfig command is used to display detailed IP information for each
network adapter utilizing TCP/IP. The ipconfig command can also be used to
release and renew IP addresses on systems configured to receive them via
a DHCP server.
12. Ping The ping command sends an Internet Control Message Protocol (ICMP) Echo
Request message to a specified remote computer to verify IP-level
connectivity.
13. Tracert
The tracert command sends Internet Control Message Protocol (ICMP) Echo
Request messages to a specified remote computer with increasing Time to
Live (TTL) field values and displays the IP address and hostname, if available,
of the router interfaces between the source and destination.
Electronic references:
https://www.lifewire.com/command-prompt-2625840#:~:text=Command%20Prompt%20is%20a%20command,certain%20kinds%20of%20Windows%20issues.
II. PRACTICE/APPLICATION:
On your notebook write the step-by-step procedure on how to access command prompt or cmd.
III. ASSESSMENT:
IV. REFLECTION:
Prepared by:
Directions: Matching type. Column A contains the description of command used in Command
Prompt and Column B contains the list of Commands. Match Column B to Column A to get the
proper command and description for cmd application. Write the letter of your answer in the
space provide before the number.
COLUMN A COLUMN B
______1. is used to update Group Policy settings. a. Chkdsk
______2. is used to change the attributes of a single file or a b. Ping
directory.
______3. is used to identify and correct certain hard drive errors. c. Dir
______4. sends an Internet Control Message Protocol (ICMP) Echo d. Gpupdate
Request message to a specified remote computer to verify IP-level
connectivity.
______5. is used to display a list of files and folders contained inside e. Help
the folder that you are currently working in.
______6. is used to delete one or more files. f. Attrib
______7. is used to display the media access control (MAC) address g. Ipconfig
of all the network controllers on a system.
______8. provides more detailed information on any of the other h. Del
Command Prompt or MS-DOS commands
______9. is used to format a drive in the file system that you specify. i. Format
Drive formatting is also available from Disk Management
______10. is used to display detailed IP information for each j. Tracert
network adapter utilizing TCP/IP
k. Getmac
Prepared by: