add next serv file for linux

This commit is contained in:
LordMZTE 2020-12-29 18:37:12 +01:00
parent 6e599062c9
commit 02d741e10d
2 changed files with 7 additions and 0 deletions

7
next_serv_linux.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
SERV=$(head -n 1 grief_servers.txt)
echo $SERV
echo $SERV | xclip -selection clipboard
mcstat $SERV
sed -i '1d' grief_servers.txt
echo "$(cat grief_servers.txt | wc -l) servers left"