Skip to content

Instantly share code, notes, and snippets.

@darylsze
Forked from dongri/uninstall-netskope.sh
Created August 1, 2022 07:34
Show Gist options
  • Save darylsze/69cbd1017e36cb2fd07af2e0a65a537a to your computer and use it in GitHub Desktop.
Save darylsze/69cbd1017e36cb2fd07af2e0a65a537a to your computer and use it in GitHub Desktop.
uninstall netskope
#!/bin/sh
sudo ps aux | grep Netskope | grep -v grep | awk '{ print "kill -9", $2 }' | sudo sh
echo '[✓] Kill Netskope Process'
sudo rm -rf /Applications/Remove\ Netskope\ Client.app
echo '[✓] Removed Remove Netskope Client.app'
sudo rm -rf /Library/Application\ Support/Netskope
echo '[✓] Removed Agent of Netskope Client.app'
echo 'Successfully uninstalled.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment