Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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/bash | |
echo "Enter the name of the OLD user and press [ENTER]: " | |
read olduser | |
echo "Enter the name of the NEW user and press [ENTER]: " | |
read newuser | |
echo "Killing all processes for $olduser" | |
pkill -u $olduser |
NewerOlder