Greg
Indeed.
- Messages
- 1,600
Here is my latest one, it uses SAMBA and Zenity to grab the IP of a networked computer when you supply the hostname.
I am pretty new to BASH scripting (if you couldn't tell), but out of all my scripts this is probably one of the most useful.
Anyone else write any that you would like to share? Comments? Suggestions?
~Greg
Code:
#!/bin/bash
GETIP=$(command net lookup `zenity --entry --title='IP Finder' --text='Please Enter the Hostname'`)
command zenity --info --text=$GETIP' ' --title='IP Finder'
Anyone else write any that you would like to share? Comments? Suggestions?
~Greg