LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-16-2006, 12:07 PM   #1
HalkEkmek
LQ Newbie
 
Registered: Sep 2005
Location: Turkey
Distribution: ubuntu
Posts: 11

Rep: Reputation: 0
how can i execute applications with SH files ?


I wanna execute my java application creating a .sh file.
ex:
#!/bin/bash
#java -jar denem.jar

but i must execute some more jar file with this sh file. I want the file to execute my other jar files at the same time. what must i write ? how can i do this ?
 
Old 02-16-2006, 01:27 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Background the first process with & and then run other tasks.
Code:
process1 &
process2
 
  


Reply



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
Why can't I execute files produced by g++ in Suse 9.1? cedar Linux - General 8 08-16-2004 04:41 PM
Cant execute files over lan without downloading shaded Linux - Networking 0 05-04-2004 12:34 PM
Cannot execute executable files without ./ brady9953 Linux - Newbie 3 10-13-2003 03:19 PM
some kde applications not execute in RHL 7.2 on login as root chinmay nautiya Linux - Software 5 01-18-2003 06:35 AM
can't execute the .exe and .tar.gz files Vieux Linux - General 12 12-01-2002 05:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08:15 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