LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-16-2010, 03:51 AM   #1
sr71919
LQ Newbie
 
Registered: Dec 2009
Location: Chennai, Tamil nadu, INDIA
Distribution: Fedora
Posts: 14

Rep: Reputation: 1
how to find if the application has fully loaded?


Hi all,
I need to run another little GUI application xyz after Firefox gets loaded up fully. How do i find that firefox has fully loaded??

If i run
Quote:
#!/bin/sh
firefox
xyz
This runs and shows up xyz before Firefox geting fully loaded.
How to solve this issue??

--
Saravanan Sundaramoorthy

Last edited by sr71919; 02-16-2010 at 03:52 AM. Reason: sign
 
Old 02-16-2010, 03:56 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Use &&.

This: firefox && xyz should start xyz if firefox starts without a problem.

&& is the key here. || does the opposite, it starts xyz if firefox does not start correctly.

Hope this helps.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find loaded module for device? kmokrzcyki Linux - Hardware 1 04-13-2007 11:19 AM
How to check the command for the loaded application? q0987 Linux - Enterprise 7 01-14-2007 10:55 AM
application loaded at startup rob_xx17 Linux - General 2 10-26-2005 08:16 PM
Find out which modules are loaded? redneon Linux - General 8 05-25-2004 12:03 PM
how do you find out what modules loaded?? osat3ch Mandriva 3 01-17-2004 10:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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