Skip to content

Instantly share code, notes, and snippets.

View vynsynt's full-sized avatar

vincent baker vynsynt

View GitHub Profile
@vynsynt
vynsynt / LTUninstall_General.sh
Last active April 19, 2018 15:42 — forked from sowderca/LTUninstall_General.sh
Labtech Uninstall Scripts
#!/bin/sh
echo
echo "Uninstalling LabTech."
# If the agent is up, kill it
ps -ef | grep LTAgentMonitor | grep -v grep | awk '{print $2}' | xargs kill 2>/dev/null
ps -ef | grep LTLinuxAgent | grep -v grep | awk '{print $2}' | xargs kill 2>/dev/null
ps -ef | grep LTSystray | grep -v grep | awk '{print $2}' | xargs kill 2>/dev/null