Commands

where calc
// 查找命令所处的路径

set
// 显示当前环境变量

set windir
// 显示某变量值

set Path=%Path%;C:\Users\Administrator\AppData\Local\atom\bin
// 追加变量

start /b yourcmd
// 后台运行程序
// cd a
// start /b run.cmd
// cd b
// start /b run.cmd

netstat  -aon|findstr :3000 // 查找占用端口

Virtual Desktop

  • win + ctrl + D create new virtual Desktop
  • win + ctrl + F4 Close the current virtual Desktop
  • win + shift + ctrl + Left/Right ==

Cmder

  • new console on current window: cmd -new_console:b:t:"rename" "task", wiki
cd ../www.toomao.com
cmd -new_console:b:t:"www" "./rrun.cmd"
  • ctrl + w Close current tab

Curl

  • -i Show headers
  • -X OPTIONS Send OPTIONS request

virutal Box install Mac OSX