一些自己用得上的linux命令,记录

查看当前端口号占用的程序

netstat -tunlp|grep 端口号

查看该进程谁启用的  还有pid等

ps -ef|grep 名称 

一些常用git命令

git diff 查看不同

git status 查看当前分支状态

git push origin "XXX" 推送指定分支

git pull  拉取分支代码

git branch "分支名"  切换分支

git commit  提交到本地仓库


不定时更新




猜你喜欢

转载自blog.csdn.net/qq_28098067/article/details/79801424
今日推荐