The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: Where am I?
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 02-09-2009
ruben.rodrigues ruben.rodrigues is offline
Registered User
  
 

Join Date: Jan 2009
Posts: 45
Where am I?

Hi!

Is there any command to tell me where did I click? I know it's a litle confuse but it's like this.
if I execute this script by clicking with the right button of my mouse, it gaves me the dir or file where I clicked


#!/bin/sh
zenity --info --title="Echo:" --text "`echo "?????"`"

this would be useful to use in a program that I've in mind

thanks