Content ITV PRO
This is Itvedant Content department
CMD (Command Prompt) is a command-line tool in Microsoft Windows that allows users to interact with the computer by typing text commands instead of using a mouse.
It is also called:
Command Prompt
Windows Command Line
CLI (Command Line Interface)
CMD is used to:
✅ Manage files and folders
✅ Run programs
✅ Check system details
✅ Perform network testing
✅ Troubleshoot issues
✅ Execute batch files (.bat)
This is called the command prompt path.
You type a command after > and press Enter.
The computer executes the command and shows the result.
C:\Users\YourName>
| Command | Purpose |
|---|---|
| dir | Show files & folders |
| cd | Change directory |
| mkdir | Create folder |
| rmdir | Delete folder |
| cls | Clear screen |
| ipconfig | Show IP address |
| ping | Check network connection |
| Advantages of CMD | Disadvantages of CMD |
|---|---|
| Fast execution | No graphical interface |
| Uses less memory | Requires command knowledge |
| Powerful for automation | Mistyped commands can cause errors |
| Useful for technical roles |
CMD is a Windows tool where we type commands to control the computer and perform tasks without using a mouse".
(Command Prompt is available in Microsoft Windows)
These exercises are perfect for beginners / freshers 👇
Practice them step-by-step in CMD.
Basic Practice
Press Windows + R
Type cmd
Press Enter
cd
Observe your current path.
dir
See all files and folders in that location.
mkdir StudentPractice
dir
cd StudentPractice
cd . .
cd StudentPractice
File Handling Practice
Go inside folder:
echo Hello CMD > test.txt
Create file:
dir
File Handling Practice
Check:
type test.txt
copy test.txt test2.txt
dir
Check:
del test2.txt
ipconfig
System & Network Practice
ping google.com
hostname
cls
College
├── IT
├── HR
└── Finance
steps:-
mkdir College
cd College
mkdir IT
mkdir HR
mkdir Finance
dir
GitHub is a cloud-based platform used to store, manage, and share code.
It works with Git to track changes in files and projects.
GitHub is owned by Microsoft.
GitHub is an online platform where developers store their code and collaborate with others.
Git is a version control system created by Linus Torvalds in 2005.
Git helps to:
Track changes in code
Go back to previous versions
Work in teams without losing data
Git works locally (on your computer)
GitHub works online (cloud)
GitHub is used to:
✅ Store projects online
✅ Backup code
✅ Collaborate with team members
✅ Track changes
✅ Manage software development
✅ Share open-source projects
A folder/project stored on GitHub.
Saving changes in the project.
A separate version of the project to work on new features.
Request to merge changes into the main project.
Download repository to your computer
| Advantages | Disadvantages |
|---|---|
| Free for students | Requires Git knowledge |
| Easy collaboration | Internet required |
| Version history tracking | Learning curve for beginners |
| Cloud backup | |
| Project management tools |
Git is a distributed version control system used to track changes in files and manage software development projects.
It was created in 2005 by Linus Torvalds
Git is a tool that helps developers track changes in their code and work together without losing data.
Before Git:
Developers faced code conflicts
No proper version tracking
Hard to manage team projects
So Git was created to:
✅ Track every change
✅ Allow multiple developers to work together
✅ Prevent data loss
✅ Maintain project history
Version control means:
Saving different versions of files
Going back to previous versions
Tracking who made changes
Example:
If your code breaks today
You can go back to yesterday’s working version
1️⃣ Create project folder
2️⃣ Initialize Git
3️⃣ Add files
4️⃣ Commit changes
5️⃣ Track history
By Content ITV