Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-30-2011, 09:04 PM   #1
LQ Newbie
Registered: Jun 2011
Posts: 3

Rep: Reputation: Disabled
How can i execute a command in a link ?

This is my question:

I'm trying to do this:
When i click in one icon (for example), this icon executes "java -jar ...".

In another words:
Make a .exe on linux.

Old 06-30-2011, 10:23 PM   #2
Registered: Jul 2003
Location: NY
Distribution: Slackware64, LFS
Posts: 312

Rep: Reputation: 53
Make a shell (or other) script to do what you wish. Also check out binfmt_misc.txt in the kernel docs (/usr/src/linux/Documentation) to see if that can be of use.
Old 06-30-2011, 10:53 PM   #3
LQ Newbie
Registered: Jun 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Shell Script worked fine, Ty !!!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Link and execute a script teresevo1 Linux - Newbie 2 06-18-2010 07:20 PM
Only execute 2nd command on successufl execution of 1st command kregec05 Linux - Newbie 3 08-19-2009 10:29 AM
Execute a command , reboot and then execute another command Linux - Newbie 3 12-03-2008 12:51 AM
Cannot execute symbolic link on Debian cold Linux - Newbie 4 06-26-2008 05:12 AM
Need to execute shell script from link. chackercon Linux - Software 8 06-25-2008 03:16 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration