-l
netstat -atupn | grep sshd | grep ESTABLISHED | grep user | wc -l
How to combine this 2 lines into 1 so that I can get a single value ?
anyone?
Yes
netstat -atupn | grep vpnserver | grep ESTABLISHED | wc -l && netstat -atupn | grep sshd | grep ESTABLISHED | grep user | wc -l
Обсуждают сегодня