DOS关机命令
[plain] view plain copy
1. shutdown -s -t 0 # 立即关机
2. shutdown -s -t 60 # 60秒,也就是1分钟后关机
3. shutdown -r -t 0 # 立即重启
4. shutdown /? # 更多用法
DOS下通过确定的端口号查看运行在该端口下的服务程序
[plain] view plain copy
1. netstat -ano | findstr "80" # 查看80端口号对应的进程号
2. tasklist | findstr "2223" # 查看进程号2223对应的程序名称
演示:
用命令改变DOS命令行的尺寸
[plain] view plain copy
全国职称计算机考试速成过关系列套装:W .. 定价:¥133 优惠价:¥133.0 更多书籍 | |
全国职称计算机考试速成过关系列套装:W .. 定价:¥124 优惠价:¥124.0 更多书籍 |