09-12-2013
Cant you start it in background? and what do you mean by "not able to come out from second script" mean?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a menu driven script that does various tasks, I want to be able to call functions directly from within other unix scripts from my menu script. Is this possible? (12 Replies)
Discussion started by: LiquidChild
12 Replies
2. Shell Programming and Scripting
I have a script that calls several other scripts in a specified order:
# Loop over actions in specified order (STOP_ORDER or START_ORDER) and build and evaluate commands
for command in $(eval print '$'${action}_ORDER)
do
printf "`date`\tExecuting ${action}_${command} = `eval print... (1 Reply)
Discussion started by: rein
1 Replies
3. Shell Programming and Scripting
I have the following cron job in the crontab.
#! /bin/bash
25 15 * * 1-5 /export/home/svittala/scripts/scpt1.sh >/dev/null 2>&1.
The problem that I am facing is - the scpt1.sh can be executed manually. But, it is not executing through CRON. Not sure what's the issue. Any hints?. Thanks.... (5 Replies)
Discussion started by: vskr72
5 Replies
4. Solaris
Hi
I am getting some errors when i am running the shell script using the following syntax:
>abc.sh
but the same script works fine with the following syntax:
>sh abc.sh
wats the difference in both....please help
thanks in advance. (6 Replies)
Discussion started by: arpit_narula
6 Replies
5. Shell Programming and Scripting
What is the difference between calling the sub scripts of below two line.
/home/scripts/devdb.sh
. /home/scripts/devdb.sh
sh /home/scripts/devdb.sh
We are using the suse 2.0 version (4 Replies)
Discussion started by: kingganesh04
4 Replies
6. Shell Programming and Scripting
I have created a script to call 2-3 shell scripts to be execute in succession, however, it seems that after the first shell script completes, the entire script exits out.
Example:
1stJob.sh
2ndJob.sh
1st Job - FTP files from Mainframe to Unix using the following commands at the tail of... (1 Reply)
Discussion started by: CKT_newbie88
1 Replies
7. Shell Programming and Scripting
Hi,
I have written a some six scripts to move large files and re-size them. This has been done step by step, taking backup, creating the new files, merging the files, removing the temporary files created.
Since these files are around 500 MB, each step takes somewhere between 1 to 5 mins.
... (1 Reply)
Discussion started by: baanprog
1 Replies
8. Shell Programming and Scripting
I need to call 3 different shell scripts from 2 different scripts, one is a perl script and other is Shell script.
In Case -1 :
The perl script is myperlscript.pl
and the name of three shell scripts which need to be called from the perl script are a1.sh, a2.sh and a3.sh. Each shell script... (1 Reply)
Discussion started by: siba.s.nayak
1 Replies
9. Shell Programming and Scripting
Hi all, I'm wondering if you could give me some advice. I am new to scripting and am getting rather frustrated that i can get my script to call another script if certain criteria is met, via command line, but I cannot get the same script to work thru the cron jobs.
My first script monitors... (8 Replies)
Discussion started by: echoes
8 Replies
10. Shell Programming and Scripting
Hi all,
i have compiled a script as below. Basically this script is intended to call 3 other scripts, which i intend to run simultaneously.
#!/usr/bin/bash
HOMEDIR=/path/of/home
LOCKDIR=$HOMEDIR/lock
#check for LOCK
LOCKFILE=$LOCKDIR/$(basename $0 .sh).lock
if ; then
echo... (2 Replies)
Discussion started by: nms
2 Replies
LEARN ABOUT DEBIAN
lircmd
LIRCMD(8) System Administration Utilities LIRCMD(8)
NAME
lircmd - LIRC mouse daemon translates infrared signals into mouse events
SYNOPSIS
lircmd [options] [config-file]
DESCRIPTION
This daemon can simulate a MouseSystems, IntelliMouse or IMPS/2 type mouse. It gets the received buttons from lircd and converts them to
mouse events. To make this possible, lircmd needs a config file located in /etc/lircmd.conf. In this file you have to determine which but-
ton from which remote causes a mouse move or a mouse button click. You can also specify a special button which activates or deactivates
the mouse mode.
-h --help
display this message
-v --version
display version
-n --nodaemon
don't fork to background
-u --uinput
generate Linux input events
OPTIONS
If you provide the --nodaemon option lircmd won't fork to background.
On Linux systems the --uinput option will enable automatic generation of Linux input events. lircmd will open /dev/input/uinput and inject
the simulated mouse events into the Linux kernel rather than creating the /dev/lircm device.
FILES
lircmd will use syslogd to output error messages. It depends on your system configuration where they will show up.
DAEMONS
lircd and lircmd are daemons. You should start them in some init script depending on your system. There are some example scripts for dif-
ferent distributions in the contrib directory. lircmd has to be started after lircd as it connects to the socket lircd provides.
If you start lircd or lircmd from your shell prompt you will usually get back immediately to the prompt. Often people think that the pro-
gram has died. But this is not an error. lircd and lircmd are daemons. Daemons always run in background.
SEE ALSO
The documentation for lirc is maintained as html pages. They are located under html/ in the documentation directory.
lircmd 0.9.0-pre1 October 2010 LIRCMD(8)