Sponsored Content
Operating Systems OS X (Apple) How to execute a command when system boots? Post 302508145 by theboogymaster on Saturday 26th of March 2011 06:43:50 AM
Old 03-26-2011
First of all you need to give the command that you want to execute.. Give more information about wat you want to do exactly with the command, so we can give the best answer for wat your search to know ?
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

AIX 433 boots into command line.

Hi All, I have an AIX 433 workstation that keeps booting into command mode. It was booting into CDE for a long time now. Suddenly now it boots into command line mode. No errors while booting up. Do not see anything in errpt. Don' t know where to start from.. Can any one please help me..thanks. ... (2 Replies)
Discussion started by: navinxavier
2 Replies

2. AIX

Execute a command at the system restart

Hi Folks, I have an AIX server and I would like the server to run the command saprouter -r at every system restarts. It needs to be run by a specific user. How would I do that? Thanks!!! (1 Reply)
Discussion started by: brookingsd
1 Replies

3. UNIX for Advanced & Expert Users

How to remotely execute a script (.COM ) on a VMS system ?

How to remotely execute a script (.COM ) on a VMS system ? rsh ? Thanks in advance (1 Reply)
Discussion started by: ivancleber
1 Replies

4. Programming

c++ : Use of System() to execute .exe with parameters

Hello, I 've trie to execute a a program with parameters unsuccessfully and i take the above message : "The system cannot find the path specified." I used a variaton of the above command : system("\"C:\\xxx\\xxx\\xxx.exe -xxx -xxx xxx.xxx xxx.xxx xxx.xxx\""); Thanks in advance (4 Replies)
Discussion started by: eusta
4 Replies

5. Shell Programming and Scripting

How to execute piped command using exec or system

Hi All, I want to execute a piped command like 'ls /opt | grep xml' using array as parameters list. How can I do that? (2 Replies)
Discussion started by: bharadiaam
2 Replies

6. Shell Programming and Scripting

Execute shell script in different system

Hi, I have a shell script in systemA and another shell script in systemB. when I execute the script in systemA, it should call the another script in systemB. Please tell me the way to do this. Thanks, Raja. (3 Replies)
Discussion started by: smr_rashmy
3 Replies

7. Ubuntu

execute command when Ubuntu boots up ?

hey all,, I want to add comments when Ubuntu starts up.. now I know that there is a directory called /etc/init.d which I can place my scripts there to run them at Ubuntu's startup.. but I prefer if there would be a file which runs when Ubuntu starts!! because it is only one command. not... (2 Replies)
Discussion started by: eawedat
2 Replies

8. Solaris

Solaris 10 system boots into Maintenance mode

I have seen similar threads on this issue, but I have not seen a fix. Basically I am getting a lot of rcp bind errors. Below find the output of "svcs -xv". not sure where to begin: # svcs -xv svc:/network/rpc/bind:default (RPC bindings) State: maintenance since Fri May 25 14:13:18 2012... (14 Replies)
Discussion started by: brownwrap
14 Replies

9. Red Hat

Systemd booting and execute system command is Not successful!help!

hi guys, booting centos7 and use systemd execute system command ulimit -SHn 202400 is fail.i dont know what's reason.can you give me help. ------------------------------------------ set-ulimit.service Description=test service After=systemd-update-utmp-runlevel.service #the last... (1 Reply)
Discussion started by: shean
1 Replies
dscfgadm(1M)						  System Administration Commands					      dscfgadm(1M)

NAME
dscfgadm - administration command for the Availability Suite configuration location and services SYNOPSIS
dscfgadm -i dscfgadm -e [-r] [-p] dscfgadm -d [-r] dscfgadm -s DESCRIPTION
The dscfgadm command controls the Availability Suite configuration location and services by providing facilities to set the configuration location, and to enable and disable the Availability Suite services. OPTIONS
If you do not specify any arguments to a dscfgadm command, the utility interactively steps you through setting the configuration location and starting the services. The configuration location is validated to ensure it meets criteria such as size and file type before it is ini- tialized for use. The dscfgadm command supports the following options. -d [-r ] Disables the Availability Suite SMF services. This includes stopping daemons and suspending any Point-in-Time Copy or Remote Mirror sets that are currently enabled under the Availability Suite software. When executed with no additional options, the -d option disables all Availability Suite services. This setting is persistent across system boots. -r When passed to the -d or -e option, acts only on the Remote Mirror services. -e [-r ] [-p] Enables the Availability Suite SMF services. This includes starting daemons and resuming any Point-in-Time Copy or Remote Mirror sets that have been previously configured under the Availability Suite software. When executed with no additional options, the -e option enables all Availability Suite services. This setting is persistent across system boots. -r When passed to the -d or -e option, acts only on the Remote Mirror services. -p When passed to the -e option, enables only the Point-in-Time Copy service. -i Displays information on the Availability Suite SMF services. -s Allows you to set the location of the configuration database containing information specific to Sun Cluster configurations. -x Displays verbose debugging information as the program is executing. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscmr, SUNWscmu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
dscfg(1M), iiadm(1M), scmadm(1M), sndradm(1M), svadm(1M), attributes(5) SunOS 5.11 2 Oct 2007 dscfgadm(1M)
All times are GMT -4. The time now is 06:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy