OSY5
OSY5
1. ps
• Linux Command:
• ps
• ps aux
• ps -ef
• Windows Equivalent:
• tasklist
o Get-Process
2. wait
• Linux Command:
• wait PID
• Windows Equivalent:
3. sleep
• Linux Command:
• sleep 5
o In Command Prompt:
o timeout 5
o In PowerShell:
o Start-Sleep -Seconds 5
4. exit
• Linux Command:
• exit
• Windows Equivalent:
• exit
5. kill
• Linux Command:
• kill PID
• kill -9 PID
(Terminates the process with the given PID. -9 forces the termination.)
• Windows Equivalent:
o Using PowerShell:
Summary of Equivalents:
Linux Command Windows Command Windows PowerShell
ps tasklist Get-Process