Windows 命令
查询占用端口的程序
Get-Process -Id (Get-NetTCPConnection -LocalPort 1080).OwningProcess
netstat -ano | findstr 1080
文件 Hash
CertUtil -hashfile pathToFileToCheck [HashAlgorithm]
MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512
tail in 'Windows Powershell'
Get-Content -Path "C:\scripts\test.txt" -Wait
ssh 文件上传
scp /path/to/local/example.txt user@remote_server:/path/to/remote/