Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
installing wmic for linux
# compiles WMIC for linux
apt-get install autoconf
cd /usr/src
bzip2 -cd wmi-1.3.14.tar.bz2 | tar xf -
cd wmi-1.3.14/
make "CPP=gcc -E -ffreestanding"
cp Samba/source/bin/wmic /usr/local/bin
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment