Created
October 30, 2014 16:26
-
-
Save supertylerc/0402ca34b7a7804a4043 to your computer and use it in GitHub Desktop.
Kill Junos CLI Sessions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
kill -9 $(ps aux | grep [c]li | awk '{print $2}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment