1What does cd do in Windows and Linux?
Changes the current directory.
2What does mkdir do in Windows and Linux?
Creates a new directory or folder.
3What does dir do in Windows?
Lists files and folders in the current directory.
4What does ls do in Linux?
Lists files and directories in the current directory.
5What does pwd do in Linux?
Displays the current working directory.
6What does cat do in Linux?
Displays the contents of a file.
7What does ipconfig do in Windows?
Displays the computer's IP configuration.
8What does ip addr do in Linux?
Displays network interface and IP address information.
9What does ping do in Windows and Linux?
Tests network connectivity between devices.
10What does tracert do in Windows?
Displays the route packets take to reach a destination.
11What does traceroute do in Linux?
Displays the route packets take to reach a destination.
12What does nslookup do in Windows and Linux?
Queries DNS for information about domain names and IP addresses.
13What does tasklist do in Windows?
Lists currently running processes.
14What does taskkill do in Windows?
Terminates a running process.
15What does ps do in Linux?
Displays information about running processes.
16What does top do in Linux?
Displays real-time information about processes and system resource usage.
17What does kill do in Linux?
Sends a signal to a process commonly to terminate it.
18What does rm do in Linux?
Removes files or directories.
19What does rmdir do in Windows and Linux?
Removes an empty directory.
20What does cp do in Linux?
Copies files or directories.
21What does copy do in Windows?
Copies files from one location to another.
22What does mv do in Linux?
Moves or renames files and directories.
23What does del do in Windows?
Deletes files.
24What does echo do in Windows and Linux?
Displays text or outputs information.
25What does clear do in Linux?
Clears the terminal screen.
26What does cls do in Windows?
Clears the command prompt screen.
27What does whoami do in Windows and Linux?
Displays the current logged-in username.
28What does hostname do in Windows and Linux?
Displays the computer's host name.
29What does netstat do in Windows and Linux?
Displays network connections and network statistics.
30What does sfc /scannow do in Windows?
Scans protected Windows system files and attempts to repair corrupted files.