This website requires JavaScript.
Explore
Help
Register
Sign In
fengyuhetao
/
shell
mirror of
https://github.com/fengyuhetao/shell.git
Watch
1
Star
0
Fork
You've already forked shell
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
56ac3ce48e
shell
/
shell脚本编程进阶
/
查看uptime获取在线用户数.sh
4 lines
62 B
Bash
Raw
Blame
History
#!/bin/bash
#
uptime
|
sed
's/user.*$//'
|
gawk
'{print $NF}'
Reference in New Issue
View Git Blame
Copy Permalink