Windows is an operating system designed by Microsoft. The operating system is an interface between the user and the hardware. computer. The command line (also called the console or terminal) is a text-based interface within the operating system, that forwards commands from the user to the operating system.
How do you open the command prompt?
There are various options for accessing the command line in Windows. The command line is the CMD.EXE program. This executable file can be found in the system directory of Windows folder. The key combination Win + R. Then have to do is type “cmd” into the search field and press the OK button.
Lets decryptinfo about windows Top 10 command line hacks
1. Date command
Date command displays the system current date and can change the date of the system.
Example: date /t
2. Time command
The Time command shows the current system time and also changes the date of the system. Its defaults to 24-hour format, but can optionally enter the time in 12-hour format by appending a, am, p, or pm to the time you enter.
Example: time /t
3. Tasklist command
Tasklist command displays a list of currently-running tasks. It also displays the process ID number of each running task, name of the executable program that started the task, and, when available, the window title. It can optionally display the process priority, the modules (dll’s) loaded by that process, the startup command line, the memory usage, the class name of the main window of the process, and the cpu usage.
Example: tasklist /svc
4. Schtasks command
The schtasks command enables an administrator to create, delete, query, change, run, and end scheduled tasks on a local or remote system.
5. Wmic command
WMIC is the abbreviation of Windows Management Interface Command, is a simple command prompt tool that returns information about the system. WMI command generally used to query all of the system-related information like Computer Name, BIOS Serial Number, Mac Address etc.
Example: wmic startup list full
6. Tree command
The Tree command in the windows command line displays a graphical directory tree. It will display a tree for each specified directory. If none are specified, the tree for the current working directory is displayed.
7. Net command
The net command can be used in different ways and with multiple switches like net users command displays user accounts on the computer and net localgroup displays groups present on the system
Example: net users
8. Netsh command
Network shell (netsh) is a command-line scripting utility that allows you to display or modify the network configuration of a computer that is currently running. Netsh can also save a configuration script in a text file for archival purposes or to help you configure other servers.
Example: netsh firewall show state
9. netstat command
netstat displays that show network status and protocol statistics. It can show the status of TCP and UDP endpoints in a table format, routing table, and interface information.
Example: netstat -an
10. arp command
ARP stands for Address Resolution Protocol. The primary function of this protocol is to resolve the IP address of a system to its mac address, and it works between Data link layer and Network layer
Example: arp -a