Familiarization of Basic Windows Command
Basic Windows Commands for Beginners
Windows Command Prompt (CMD) is a powerful tool that allows users to interact with the operating system directly. Learning basic commands can enhance troubleshooting skills and improve productivity. This blog covers essential Windows commands with simple explanations and examples.
1. Opening Command Prompt
Command:
cmd
Explanation: Opens the Command Prompt.
Example:
Press
Windows + R
.Type
cmd
and press Enter.
2. Displaying Current Directory
Command:
cd
Explanation: Displays or changes the current directory.
Example:
cd Documents
Changes to the Documents directory.
3. Viewing Files and Folders
Command:
dir
Explanation: Lists files and directories in the current directory.
Example:
dir
Shows all files and folders in the current location.
4. Creating a New Folder
Command:
mkdir
Explanation: Creates a new directory.
Example:
mkdir NewFolder
Creates a folder named NewFolder.
5. Deleting a Folder
Command:
rmdir
Explanation: Removes a directory (must be empty).
Example:
rmdir OldFolder
Deletes the OldFolder directory.
6. Deleting Files
Command:
del
Explanation: Deletes files.
Example:
del file.txt
Deletes the file named file.txt.
7. Renaming Files or Folders
Command:
rename
Explanation: Renames a file or folder.
Example:
rename oldfile.txt newfile.txt
Renames oldfile.txt to newfile.txt.
8. Copying Files
Command:
copy
Explanation: Copies files from one location to another.
Example:
copy file.txt D:\Backup
Copies file.txt to the Backup folder in drive D.
9. Moving Files
Command:
move
Explanation: Moves files to a new location.
Example:
move file.txt D:\Documents
Moves file.txt to the Documents folder in drive D.
10. Clearing the Screen
Command:
cls
Explanation: Clears the Command Prompt screen.
Example:
cls
Clears the current screen.
11. Viewing Network Information
Command:
ipconfig
Explanation: Displays IP address and network details.
Example:
ipconfig
Shows network configuration and IP address.
12. Checking Connectivity (Ping)
Command:
ping
Explanation: Tests connectivity to a website or IP address.
Example:
ping google.com
Checks if Google is reachable.
13. Shutting Down the Computer
Command:
shutdown
Explanation: Shuts down or restarts the computer.
Example:
shutdown /s /t 60
Shuts down the computer in 60 seconds.
14. Exiting Command Prompt
Command:
exit
Explanation: Closes the Command Prompt.
Example:
exit
Exits the terminal.
Conclusion
Learning basic Windows commands helps students gain confidence in navigating and managing files efficiently. These commands form the foundation for more advanced system management tasks. Practice regularly to master the Command Prompt!
Comments
Post a Comment