Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to add a script, that execute at start time

Answers were Sorted based on User's Feedback



how to add a script, that execute at start time..

Answer / venugopal adep

We can add the script in rc scripts to start the script at
the time boot or stop the scripts at the time of
shutdown/reboot.
RC scripts are located in /etc/rcX.d/ where X is the run-
level.
If the RC scripts start with 'S' (start script) or 'K'
(kill/stop script)

Is This Answer Correct ?    3 Yes 0 No

how to add a script, that execute at start time..

Answer / solaris

add the script in .profile file

Is This Answer Correct ?    5 Yes 4 No

how to add a script, that execute at start time..

Answer / amit

If u saw the boot process first it execute /etc/inittab just
go to end of that file and make and entry.Make one script in
/usr drive and make it exectueable

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More Solaris Commands Interview Questions

what is the diff between ufslog and vxfslog?

1 Answers  


How will see the kernel version

5 Answers  


What is a heart-beat?

2 Answers  


How to bring the Disk into diskgroup on veritas.

3 Answers  


How to set passwd never expire for a user

4 Answers  


Tell me some of the differences between Solaris and Sun OS?

8 Answers   Lucent,


how many run level in solaris?

19 Answers   HP,


What are the packages for DNS?

4 Answers   IBM,


How to check and analyze the logs in /var/adm/messages?

2 Answers  


Hello Everyone, One of our servers is showing a strange issue, let me paste the output Code: root # uptime 4:37pm 3 users, load average: 0.00, 0.04, 0.04 Its been running since months but you can see after time there isn't any output like up 191 days(s). Even the who command with b and r option isn't giving any output. Code: root # who -b root # root # who -r root # the date command displays correct output. I am not sure but is it because someone has played with utmpx and wtmpx files, is reboot the only solution we have. Can anyone help us since we don't intend to reboot the server for such a reason and also no one has complained till yet.

1 Answers  


what are the common errors you find in Solaris Volume manager?

3 Answers  


Explain about init phases

4 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)