白天的影子

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2019年7月30日

摘要: linux是一个多用户操作系统,用户可以在不同的地方链接上LINUX服务器。 在系统中我们可以用w或者who来查看用户: [root@7273 ~]# who root pts/0 2019-04-17 20:45 (58.63.138.162) root pts/1 2019-05-5 22:24 (118.186.197.221) [root@7273 ~]# w 22:33:29 up 4 days, 8:05, 2 users, load average: 1.58, 1.36, 1.47 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root pts/0 58.63.138.162 20:45 0.00s 0.03s 0.00s w root pts/1 118.186.197.221 22:24 4:40 0.02s 0.02s -bash 阅读全文
posted @ 2019-07-30 14:10 白天的影子 阅读(1334) 评论(0) 推荐(0)

摘要: 1、查看本地分支:git branch 2、查看远程分支:git branch -r 或 git branch --remote 3、查看本地和远程的所有分支:git branch -a 阅读全文
posted @ 2019-07-30 11:53 白天的影子 阅读(1183) 评论(0) 推荐(0)