I have written a script and I want it to be run during startup before the user log in.
* K = stop during startup S = start during startup
You have three options.
1- #/etc/rc.local // add line
2- #/etc/rc5.d/ // #touch 777 Sxxangel and edit like above
3- #crontab -e // add this line "@reboot /path/to/shell.script"
New in Unix, I am adding a line "route add 57.14.y.y 57.14.x.x" every day after rebooting the system. Where can I add the line so during boot up (the system is re-started every day by design (???) the line is executed? (I tried the /etc/rc2.d/S90 but for some reason the line needs to be added... (2 Replies)
Hi friends i have a script "backup.sh" which is stored in "/var/lib/pgsql" directory.
I want it to run as a cron so that it executes every time the system starts.
I tried the follwing method
I logged in as the root user and typed "crontab -e"
The file was completly blank so i put the... (3 Replies)
Hi,
I would like to know in which file I can get the option of enabling/disabling of running fsck on particular file system.
As I know in /etc/filesystems these parameter should be there just like in Linux /etc/fstab
I have created file system aix test but unable to find the option of... (1 Reply)
Hi
I need the below script to be started whenever I reboot my aix server ?
#cat cdbegin
/cdirect/cdunix/ndm/bin/cdpmgr -i /cdirect/cdunix/ndm/cfg/cbspsdb01/initparm.cfg
Please suggest how to add this to the startup ? (2 Replies)
Hi all,
i have a small simple perl that i cant make it work it is really stupid but i cant find solution and i needed fast.
im trying to copy running to startup on a cisco router and show me the output like is ok
Destination filename ?
Building configuration...
so the code i have is ... (0 Replies)
I copied the script from an AskUbuntu post -
#!/bin/bash
### BEGIN INIT INFO
# Provides: tomcat7
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/Stop Tomcat server
### END INIT INFO
... (14 Replies)
I am having check.sh script and check.service which I include to /etc/systemd/system/
chmod 744 /usr/local/bin/check.sh
chmod 664 /etc/systemd/system/check.service
systemctl daemon-reload
systemctl enable check.servicecheck.sh:
websockify 5555 localhost:7000 &
date >... (9 Replies)
Discussion started by: tomislav91
9 Replies
LEARN ABOUT DEBIAN
scilab-cli
Scilab(1) General Commands Manual Scilab(1)NAME
scilab-cli - Scientific software package - Command Line Interpreter
SYNOPSIS
scilab [ -h | -f file | -e instruction | -l lang | -mem n | -nb | -ns | -nouserstartup | -version ]
This manual page documents briefly the scilab commands. scilab-cli provides Scilab as a computing engine. It is similar to call scilab
-nwni. Somes features are disabled in this mode (graphic, GUI, Xcos...).
OPTIONS
A complete list of options is included below.
-h Show the list of options.
-f file
Execute the scilab script given in file argument. Note that -e and -f options are mutually exclusive.
-e instruction
Execute the scilab instruction given in instruction argument. Note that -e and -f options are mutually exclusive.
-l lang
Launch Scilab in the specified language. The lang must be the locale code (ie fr_FR, en_US...)
-nb Do not display the Scilab banner at starting time.
-ns Do not execute scilab.start startup file
-mem N Set the initial stacksize
-nouserstartup
Do not execute the user startup files SCIHOME/.scilab or SCIHOME/scilab.ini.
-version
Print product version and exit.
FILES
~/.Scilab/<Scilab_version>/.scilab The user startup script.
~/.Scilab/<Scilab_version>/scilab.ini The user startup script.
~/.Scilab/<Scilab_version>/configuration.xml The configuration of the GUI
~/.Scilab/<Scilab_version>/.history.scilab The history of commands
SCI/modules/jvm/etc/jvm_options.xml Options given to the JVM
SCI/etc/modules.xml List of Scilab modules
SCI/etc/classpath.xml Where Scilab should load the Java libraries
SCI/etc/librarypath.xml Where Scilab should look for JNI libraries
AUTHOR
Scilab was written by the Scilab Consortium.
This manual page was written by Sylvestre Ledru <sylvestre@debian.org>.
November 18, 2008 Scilab(1)