Skip to content

Instantly share code, notes, and snippets.

@yeshuibo
Forked from dongri/uninstall-netskope.sh
Created August 11, 2022 02:08
Show Gist options
  • Save yeshuibo/ed5d3bb402e356b8a6739fda547359d9 to your computer and use it in GitHub Desktop.
Save yeshuibo/ed5d3bb402e356b8a6739fda547359d9 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