This is the output of whereis nc bin/nc /bin/nc.traditional bin/nc.openbsd /usr/share/man/man1/nc.1.gz
DJanGo wrote: > > Copy that outputline (the path where nc is installed) and change all > "nc" commands to /my/path/from/above/nc > > So only add the path to nc into the script dont change something else! > > I hope that solves your problem - if not u know what to do. ;-) > > /edit Sorry but you lost me through that stretch. If I follow what your saying I would make changes as follows to all locations where nc occurs in your script #example # get number of known players players=$(printf "player count ?\nexit\n" | nc $server $port | cut -d ' ' -f 3) Would become # get number of known players players=$(printf "player count ?\nexit\n" | bin/nc $server $port | cut -d ' ' -f 3) Or would it be # get number of known players players=$(printf "player count ?\nexit\n" | bin/nc /bin/nc.traditional bin/nc.openbsd /usr/share/man/man1/nc.1.gz $server $port | cut -d ' ' -f 3) Thanks Again! I'm excited to get this ironed out Jesse ------------------------------------------------------------------------ Girth's Profile: http://forums.slimdevices.com/member.php?userid=62640 View this thread: http://forums.slimdevices.com/showthread.php?t=99916 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
