Sponsored Content
Top Forums Shell Programming and Scripting Problem in calling a script inside a script Post 302660223 by aashish.sharma8 on Friday 22nd of June 2012 08:40:19 AM
Old 06-22-2012
Best is to use another variable name instead of PATH.PATH is a system variable and may cause issues when using otherway.
And you need not to give "&" for background process.You may call the main script in background as well
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

calling a C executable from inside a Perl script

here's the Perl code snippet... how can i call my C executable 'porter-stemmer' and pass it $1 as an argument? Thanks for the help! # Read through the original topic set, and modify based on the current # pre-processing options while (<TOPIC_ORIG>) { # Run pre-processing over only the... (3 Replies)
Discussion started by: mark_nsx
3 Replies

2. Shell Programming and Scripting

shell script calling problem

Hi all, I am calling one shell script from other ...as follow ---calling_proc---code line_no=10 proc_name='test' echo "set verify off feedback off pagesize 0 select count(*) from tp_mpolicy2 " | sqlplus -s/@CMKT | read cnt if ; then export $line_no $proc_name global_proc... (2 Replies)
Discussion started by: dhananjaysk
2 Replies

3. Shell Programming and Scripting

Problem with Calling sql file from shell script

I have created abc.sh file which will set the environment variables (UNIX env variables as well as ORACLE required variables like ORACLE_SID,ORACLE_HOME etc) and then calls a function file which checks for starts some logs and then it will try to execute the .sql file. The .sh, function file are as... (1 Reply)
Discussion started by: sskc
1 Replies

4. Shell Programming and Scripting

differences in calling another script inside script

Hello, we can call the script inside another script. like method 1) content of test.sh ######## . test2.sh ####### method 2) content of test.sh ######## test2.sh ####### What is the difference here in both samples calling test2.sh?? i mean calling with ". " and calling... (1 Reply)
Discussion started by: balareddy
1 Replies

5. Shell Programming and Scripting

calling problem in perl script

Hi , Here is my piece of code-- main(); sub main { $result = GetOptions ("LogDir=s" => \$LogDir, "Summary" => \$Summary, "Indiviual=s" => \$Individual , "Diagnostics=s" => \$Diagnostics, ... (1 Reply)
Discussion started by: namishtiwari
1 Replies

6. Shell Programming and Scripting

Running a unix script(which is calling another script inside that) in background

Hi all, I am having a script ScriptA which is calling a script ScriptB in the same server and copying files to second server and have to execute one script ScriptC in the second server. THis First script ScriptA is the main script and i have to execute this process continously. for Keeping... (2 Replies)
Discussion started by: rohithji
2 Replies

7. Shell Programming and Scripting

Problem while calling a script within a script

Hi , I have moduled my scripts in three scripts . From First script i am calling second and from second i am calling third for some check . Problem is with the third script call. ---In second script EXP ='test.\abc.\Server.*abc.xml.*' pid=$($HOME/bin/checkpid $EXP) --Third... (2 Replies)
Discussion started by: amrishn
2 Replies

8. Shell Programming and Scripting

Calling a function in cpp file inside shell script

Hi I need to call a function written in a cpp file with arguments inside the shell script..Can anyone help me how to do this:( (1 Reply)
Discussion started by: rkrish
1 Replies

9. Programming

Calling another expect script inside an expect script

I have an expect script called remote that I want to call from inside my expect script called sudoers.push, here is the code that is causing me issues: set REMOTE "/root/scripts/remote" ... log_user 1 send_user "Executing remote script as $user...\n" send_user "Command to execute is: $REMOTE... (1 Reply)
Discussion started by: brettski
1 Replies

10. Shell Programming and Scripting

Calling one script inside another

Hi, I am calling a script log.sh from output.sh. Log.sh has below pice of code: IFILE=/home/home1/Report1.csv if awk -F, '$6==0 && $7==0{exit 1}' ${IFILE} then awk -F, ' BEGIN{ c=split("1,6,2,3,4,5,6", col) print "To: abc@gmail.com" print "Subject: Error... (2 Replies)
Discussion started by: Vivekit82
2 Replies
SPLASHY_CONFIG(1)					 Splashy POSIX boot splash system					 SPLASHY_CONFIG(1)

NAME
Splashy - a user-mode, POSIX and LSB compliant, boot splashing system for UNIX. SYNOPSIS
splashy_config [-h, --help] [-s, --set-theme THEME] [-i, --install-theme THEME.tar.gz] [-r, --remove-theme THEME][--info] [-c, --create-theme [args...]] DESCRIPTION
Splashy displays an image and a progress bar at boot time. splashy_config is used to change Splashy configuration options. OPTIONS
-h, --help Print helps and exits -s, --set-theme THEME Changes current theme to THEME -i, --install-theme THEME.tar.gz Adds THEME to Splashy theme directory -r, --remove-theme THEME Removes THEME from theme directory --info Prints all relevant information from the main Splashy config file -c, --create-theme [args...] Create a theme in an interactive mode if no arguments, else see the extra arguments section below Extra arguments --name NAME Set the NAME of the new Splashy theme --version VERSION Set the VERSION of the new Splashy theme --description DESC Set the DESC of the new Splashy theme --urls URLs Set the related URLs for this theme --author AUTHOR Set the AUTHOR(s) of the new Splashy theme --boot-image PATH Upload the boot image located at the specified PATH --shutdown-image PATH Upload the shutdown image located at the specified PATH --error-image PATH Upload the error image located at the specified PATH --resume-image PATH Upload the resume image located at the specified PATH --suspend-image PATH Upload the suspend image located at the specified PATH --background-width WIDTH Set the WIDTH of the background --background-height HEIGHT Set the HEIGHT of the background --progressbar-x X-POSITION Set the X-POSITION of the progress bar (percentage if the background height and width are not set, else pixel units) --progressbar-y Y-POSITION Set the Y-POSITION of the progress bar (percentage if the background height and width are not set, else pixel units) --progressbar-width WIDTH Set the WIDTH of the progress bar (percentage if the background height and width are not set, else pixel units) --progressbar-height HEIGHT Set the HEIGHT of the progress bar (percentage if the background height and width are not set, else pixel units) --progressbar-red RED Set the RED channel of the progress bar (0->255) --progressbar-green GREEN Set the GREEN channel of the progress bar (0->255) --progressbar-blue BLUE Set the BLUE channel of the progress bar (0->255) --progressbar-alpha ALPHA Set the ALPHA channel of the progress bar (0->255) --progressbar-border-show yes|no Set a border around the progressbar --progressbar-border-red RED Set the RED channel of the border around the progressbar (0->255) --progressbar-border-green GREEN Set the GREEN channel of the border around the progressbar (0->255) --progressbar-border-blue BLUE Set the BLUE channel of the border around the progressbar (0->255) --progressbar-border-alpha ALPHA Set the ALPHA channel of the border around the progressbar (0->255) --progressbar-background-red RED Set the RED channel of the background of the progressbar (0->255) --progressbar-background-green GREEN Set the GREEN channel of the background of the progressbar (0->255) --progressbar-background-blue BLUE Set the BLUE channel of the background of the progressbar (0->255) --progressbar-background-alpha ALPHA Set the ALPHA channel of the background of the progressbar (0->255) --textbox-show yes|no Set a text box --textbox-x X-POS Set the X-POS of the text box (percentage if the background height and width are not set, else pixel units) --textbox-y Y-POS Set the Y-POS of the text box (percentage if the background height and width are not set, else pixel units) --textbox-width WIDTH Set the WIDTH of the text box (percentage if the background height and width are not set, else pixel units) --textbox-height HEIGHT Set the HEIGHT of the text area (percentage if the background height and width are not set, else pixel units) --textbox-red RED Set the RED channel of the text area (0->255) --textbox-green GREEN Set the GREEN channel of the text area (0->255) --textbox-blue BLUE Set the BLUE channel of the text area (0->255) --textbox-alpha ALPHA Set the ALPHA channel of the text area (0->255) --textbox-border-show yes|no Set a border around the text area --textbox-border-red RED Set the RED channel of the border of the text area (0->255) --textbox-border-green GREEN Set the GREEN channel of the border of the text area (0->255) --textbox-border-blue BLUE Set the BLUE channel of the border of the text area (0->255) --textbox-border-alpha ALPHA Set the ALPHA channel of the border of the text area (0->255) --text-font-file FILE Upload the FONT file --text-font-height HEIGHT Set the HEIGHT of the text area font --text-font-red RED Set the RED channel of the text area font (0->255) --text-font-green GREEN Set the GREEN channel of the text area font (0->255) --text-font-blue BLUE Set the BLUE channel of the text area font (0->255) --text-font-alpha ALPHA Set the ALPHA channel of the text area font (0->255) --autoverbose yes|no Set if Splashy turn into verbose mode when an error appears at boot --progressbar-visibility-boot yes|no Set if Splashy shows a progress bar on boot --progressbar-visibility-shutdown yes|no Set if Splashy shows a progress bar on shutdown --progressbar-visibility-resume yes|no Set if Splashy shows a progress bar on resume --progressbar-visibility-suspend yes|no Set if Splashy shows a progress bar on suspend --progressbar-direction-boot forward|backward Set if the progress bar goes forward or backward on boot --progressbar-direction-shutdown forward|backward Set if the progress bar goes forward or backward on shutdown --progressbar-direction-resume forward|backward Set if the progress bar goes forward or backward on resume --progressbar-direction-suspend forward|backward Set if the progress bar goes forward or backward on suspend --fadein yes|no Set if Splashy appears smoothly --fadeout yes|no Set if Splashy disappears smoothly EXAMPLES
"/usr/bin/splashy_config --info" Shows all the themes currently installed. FILES
/etc/splashy/config.xml Main configuration. defines how splashy should be setup. /etc/splashy/themes/default/theme.xml Default theme. defines how the images displayed by splashy should be setup, their location and other theme-related variables. SEE ALSO
splashy(1), splashy_update(1), splashy-config.xml(5), splashy-theme.xml(5) AUTHORS
Vincent Amouret <vincent.amouret@gmail.com> Luis Mondesi <lemsx1@gmail.com> perl v5.12.1 2010-07-05 SPLASHY_CONFIG(1)
All times are GMT -4. The time now is 07:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy