- 1. Get the help of a command
- Syntax
- # command ?/
- Example:
- # taskkill ?/
- Displays the usage of the taskkill command.
- 2. List all the process running on the windows system.
- Syntax
- # tasklist
- # tasklist /FI "IMAGENAME eq java.exe" - This command list all the process where the image name is java.exe
- 3. Kill specific process in the command prompt?
- Example:
- # taskkill /PID process_id
- # taskkill /PID 8760
- This command kills the process whose id is 8760.
- 4. Kill all java process running on the system.
- Example:
- taskkill /F /IM java.exe
- /F – Delete java.exe process forcefully.
- /IM – Image name of the process
- 5. List out all TCP/IP connections.
- 6. Find out a process running on specific port.
Sunday, July 24, 2011
Windows commands
Labels:
Windows