The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Java application getting killed automatically in Solaris ashish.nijai SUN Solaris 3 06-02-2008 05:43 PM
ls automatically does a recursive ls of dir pbsrinivas Shell Programming and Scripting 2 07-16-2007 10:40 AM
automatically open pau Shell Programming and Scripting 1 06-04-2006 01:24 PM
How to run three scripts one after another automatically??? arunava_maity UNIX for Dummies Questions & Answers 3 05-04-2001 09:46 AM
How to run a script automatically ????? arunava_maity UNIX for Dummies Questions & Answers 7 05-02-2001 11:37 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-18-2009
salil2012 salil2012 is offline
Registered User
  
 

Join Date: Feb 2009
Location: India
Posts: 45
Doubt with How to run an application automatically?

Dear sir,
I want to know if i shut-down my system and while starting it next time
automatically one application starts running, Is there any way?

I an using Suse linux OS.
PLz Help me!
  #2 (permalink)  
Old 03-18-2009
amitranjansahu's Avatar
amitranjansahu amitranjansahu is offline
Registered User
  
 

Join Date: Jan 2009
Location: Gurgaon,INDIA
Posts: 239
in solaris we store scripts in /etc/init.d directory for starting up a application when the system starts.

So you can create a script to start ur application and place it in the dir

/etc/init.d
  #3 (permalink)  
Old 03-20-2009
salil2012 salil2012 is offline
Registered User
  
 

Join Date: Feb 2009
Location: India
Posts: 45
init.d is right but I am trying rc.d to do the same in Suse linux.

but i don't know how to use rc and what rc is?
  #4 (permalink)  
Old 03-20-2009
pludi's Avatar
pludi pludi is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2008
Location: .at
Posts: 1,950
Rule #4: Do not bump up your questions.

In Linux, the init scripts usually reside under /etc/init.d (sometimes /etc/rc.d/init.d). rc[0-6].d contain symbolic links to those scripts telling init which scripts to run and in what order, for each runlevel (0 to 6). rcS.d contains the scripts for single user mode (rescue/repair mode)
  #5 (permalink)  
Old 03-20-2009
radoulov's Avatar
radoulov radoulov is offline Forum Staff  
addict
  
 

Join Date: Jan 2007
Location: Варна, България / Milano, Italia
Posts: 2,926
Quote:
Originally Posted by pludi View Post
Rule #4: Do not bump up your questions.
[...]
Duplicate posts deleted.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:54 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0