If this is your first visit, be sure to
check out the Forum Rules by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

How To Run FILE.SH From Mouse Clicks

I'm a pentester and a programmer. New to Linux. I am hooked now. I love it. As stated.. I am new to Linux though, but catching on quickly.

My question is probably simple to most; I have a script.sh script file, and I want to be able to launch it by simple clicking on it. The only way I see to run this is by either pasting the path to a shell window or placing the file in the /bin directory and then typing the name in anywhere I am. How is the ladder possible?

You can also put it in the /usr/bin or /usr/sbin directory and to add on that,
you can also do some shell command linking. On the netgh0st site i saw a
little tiny guide to do that.

But can't you just right click the shell file, then choose which program to use,
then choose /bin/sh as the program it should usually start? That's what i would
think of when we're talking about using your GUI to start shell files.

[quote][I]I realized, that I had fallen down from the top of the mountain into a deep, terrifying and dark hole, just to find out that another mountain in front of me, much greater than the previous, was the next step in life. I began to wander uphill on the next mountain of life while I knew it would be much harder than the previous mountain. [/I]- MaXe[/quote]

[quote][I]I realized, that I had fallen down from the top of the mountain into a deep, terrifying and dark hole, just to find out that another mountain in front of me, much greater than the previous, was the next step in life. I began to wander uphill on the next mountain of life while I knew it would be much harder than the previous mountain. [/I]- MaXe[/quote]