Bash - Windows
shell:babun
a Windows shell, good to use with tmux.
- project page
http://babun.github.io/
cmd:sc
Window services management.
- Create a service:
sc create ServerName binPath= C:\dev\goagent\local\goagent.exe(path to exe file)
- Delete a service
sc delete ServerName
cmd:netsh
- Enable/disable network interface:
netsh interface set interface "Wireless Network Connection" DISABLED
netsh interface set interface "Wireless Network Connection" ENABLED
cmd:netstat
View machine net connection/listening status.
netstat -aon | findstr "<port>"
cmd:tasklist
Displays a list of currently running processes on either a local or remote machine.
tasklist | findstr "<pid>"
cmd:findstr
Searches for strings in files.
- Find out which process occupys a specific net port:
netstat -aon | findstr "<port>"
tasklist | findstr "<pid>"
cmd:control userpasswords2
Windows7 auto login.
cmd:where
Searches for specified cmd.
where python