Simple [Executable] Bash Scripting
I wrote an extremely simple script to put my card into monitor mode, change my MAC, then run airodump-ng...
Code:
#!/bin/bash
airmon-ng stop ath0
ifconfig wifi0 down
macchanger --mac 00:11:22:33:44:55 wifi0
airmon-ng start wifi0
airodump-ng ath0
Then I do "chmod 777 myfile" to get the file executable.
I can run it fine from the shell, but when I double-click it, airodump-ng won't run (though all the commands do work). So, my question is, is there something I can do to allow airodump-ng to pop up in the shell when I double-click?
Am I doing something wrong?