LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-10-2005, 07:04 AM   #1
kamesh156
LQ Newbie
 
Registered: Oct 2005
Location: chennai-india
Posts: 13

Rep: Reputation: 0
how to write a file of type applicatio in linux


i wrote a shell script to invoke my application and i gave the executable permission to that .sh file.my need is while double click that .sh file my app should run. yes its working, but the problem is everytime while double click the .sh file, a msg box is appearing with the following options Run, Run in terminal, Display and Cancel. how to avoid the msg box or any other ways to invoke my application?
 
Old 10-10-2005, 07:10 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Does your script have #!/bin/bash (or whatever type of shell script it is) at the top?
 
Old 10-10-2005, 07:28 AM   #3
kamesh156
LQ Newbie
 
Registered: Oct 2005
Location: chennai-india
Posts: 13

Original Poster
Rep: Reputation: 0
i didnt mension any thing in my script my actual coding is

cd /home/myfolder
./myapp mystartupfile

thats it..
is there anything i have to add in the firstline?
 
  


Reply


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
grip : no write access to write encoded file bidouilleur Linux - Software 5 10-09-2010 10:23 PM
how to write (implement) file system for linux amitchakote Linux - Software 2 03-16-2004 01:39 PM
Is there any KaZaa type file sharing software for Linux? Stevetgn Linux - Software 26 06-27-2003 03:23 PM
Does Linux write what happens at boot to a file ? I can't find anything in var/log . lostboy Linux - General 8 05-07-2003 03:58 PM
unable to write file to vfat partition from Linux techsarge Linux - Software 5 04-25-2003 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:27 PM.

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