hey
I need a script to set a display to users ip's, I just need help putting it togther
the command i need to run is
setenv DISPLAY ipaddress:0.0
And i've got this to grab the ip and pop in the :0.0:
who|grep user | awk '{print $6}' |sed 's/(//g' | sed s/)/:0.0/g'
How do i now get the results of the above into one script that i can just run it will take ipaddress:0.0 and run the command ?
thx