This commit is contained in:
nick 2018-05-16 17:34:12 +08:00
parent 345f69c2f6
commit 946b690970
2 changed files with 6 additions and 2 deletions

4
git.md
View File

@ -57,7 +57,7 @@ git clone https://github.com/Nick233333/gitbook.git #克隆远程仓库
git clone https://github.com/Nick233333/gitbook.git linux #克隆并指定目录名称
```
日志
__日志__
```
git log #查看提交日志
@ -94,7 +94,7 @@ git push origin :branch #删除远程分支
```
标签
__标签__
```
git tag #列出现有标签

View File

@ -156,13 +156,17 @@ free -k #以 kb 统计系统内存
#### ssh 命令
```
ssh username@ip #远程登录服务器
ssh -p 2222 username@ip #指定端口登录远程服务器
```
#### ping 命令
```
ping ip or domain name #使用 ICMP 协议测试服务器是否正常运行
ping -c 2 ip #测试并设置返回的数据次数
```
#### dig 命令