osso-xterm -e /path/to/yourscript
osso-xterm -e sh /path/to/yourscript
osso-xterm -e "sh /home/user/MyDocs/myscript/iwlistscan.sh" | echo ""
#!/bin/sh if [ `id -u` != 0 ] ; then exec sudo gainroot <<EOF exec sh $0 $* EOF exit $? fi ifconfig wlan0 up iwlist wlan0 scan ifconfig wlan0 down sleep 30 read -p "Press Enter Key..." nothing echo sleep 10 exit 0;
| The Following User Says Thank You to sixwheeledbeast For This Useful Post: | ||
osso-xterm -e "sh /home/user/MyDocs/myscript/iwlistscan.sh" | echo ""
#!/bin/sh if [ `id -u` != 0 ] ; then exec sudo gainroot <<EOF exec sh $0 $* EOF exit $? fi ifconfig wlan0 up iwlist wlan0 scan ifconfig wlan0 down sleep 30 read -p "Press Enter Key..." nothing echo sleep 10 exit 0;
echo "iwconfig wlan0" | sudo gainroot | grep ESSID |sed "s/.*ESSID:\"//;s/\".*//" ; echo "iwconfig wlan0" | sudo gainroot | grep Point | sed "s/.*Point: //;s/ //g"
| The Following User Says Thank You to sixwheeledbeast For This Useful Post: | ||