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

How can you create mount points in solaris?

11 Answers   Huawei,


How to display the volume configuration information?

2 Answers  


how will you execute backup and restore using the tar command in a single command

1 Answers   CMS,


How to change rsc ip in sun V490?

4 Answers   Wipro,


how many clients have in our server ? how we find that?

7 Answers   IBM, Wipro,






What are the types of cluster configuration?

2 Answers   IBM, Wipro,


How we configure the veritas cluster server for solaris? what r the proceure we have to take configuration

1 Answers   IBM,


How many filed in /etc/vfstab

1 Answers  


How can we check the status of CPU at firmware

2 Answers   ITC Infotech,


how we can create user in solaris?

6 Answers   Tech Mahindra,


What is WWN on storage

2 Answers  


how to find out the how many disks attached in the server?

13 Answers   Accel, HP,


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)