Linux、Windows常用命令总结
Windows篇
查看端口
netstat -ano
查找端口对应的线程
netstat -ano| findstr "8088"
杀掉对应的进程
taskkill | -f | -t | im 6140
显示电脑ip配置信息
ipconfig
Linux篇
一、一级目录介绍
/etc | 存放系统和第三方应用的配置文件 |
---|---|
/hmoe | 存放普通用户家目录 |
/opt/ | 存放安装第三方应用程序时使用的压缩包文件 |
/root | 超级管理员 root 用户的家目录 |
/usr | 应用程序的默认安装目录,类似于 Windows 下的 program files目录 |
/var | 存放经常变化的内容,例如日志文件 |