Sponsored Content
Top Forums Shell Programming and Scripting Invoking 2 scripts in 1 command Post 302299311 by bce_groups on Thursday 19th of March 2009 09:35:46 PM
Old 03-19-2009
HI ,

I tried calling the script as below and getting error

csh -f $main.sh ; sub.sh TIBCO_HOME
main: Undefined variable.

Thanks
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

BUILT-IN command scripts

I am new to Unix scripting. I would like to know if someone can point me to a site which lists any built-in commands in there scripted form. I thought to start with the basics and learn from example. Thanks JSP (2 Replies)
Discussion started by: JSP
2 Replies

2. Shell Programming and Scripting

exit status of Invoking two or more scripts in background

I have a sript which is going to trigger other 3 scripts in background simultaneously for eg: Main Script:(main.sh) ----------- sh a.sh & sh b.sh & sh c.sh & How to catch the exit status and store it in a variable for all those three scripts in main script. Is there any other way of... (4 Replies)
Discussion started by: Omkumar
4 Replies

3. UNIX for Advanced & Expert Users

Invoking shell script with perl command.

Hi All, I am using the following command to invoke the shell script from a perl command. perl -i.bak -pe'BEGIN { $cmd = "/opt/coreservices/tomcat-5.5.9/bin/digest.sh -a sha"; } s/(password=")(*)/ $1.`$cmd $2|cut -d: -f2|tr -d "\n"` /e ' $CATALINA_HOME/conf/tomcat-users.xml I need... (1 Reply)
Discussion started by: nua7
1 Replies

4. Shell Programming and Scripting

Shell script..invoking command and exiting at fixed intervals

Hi, I need to write a shell script. Based on command line param to script say demode=yes Need to run an ant command for an hour(configurable) Then exit Again run the ant command all this needs to be in a loop. Thanks in advance Raj (1 Reply)
Discussion started by: rajuak12
1 Replies

5. Shell Programming and Scripting

Running shell scripts from command

I have written a few shellscripts to run a videogame (starcraft) at different patched versions. For example bw113 runs the 1.13 version of the game. These works perfectly when I run them from command line (./bw113). However I cannot get it to work via mouseclick. Some Information: - I have... (5 Replies)
Discussion started by: lordsloth
5 Replies

6. Shell Programming and Scripting

Help needed in invoking shell command in PHP

Hi all.. can u please let me know how to use the unix shell curl command in PHP scripting, sample of my code is given below, <?php $ch = shell_exec('curl -H "Content-type: application/json" -H "Accept: application/json" --data-binary '{"text" : "how to check the temperature?"}' -H... (5 Replies)
Discussion started by: vidhyaS
5 Replies

7. Shell Programming and Scripting

ps command in scripts

I want to write 2 scripts that: script named "users" - List of users logged into the system; script named "ps" - List of all processes in the operating system; # is it true? #!bin/bash echo 'content-type: text/html' echo users # for script named users #!bin/bash echo 'content-type:... (15 Replies)
Discussion started by: numeracy
15 Replies

8. Shell Programming and Scripting

Command need to be used for the scripts output differences

Hi All, Actually we want to know the command need to use if the difference between two files are null, then it should not send as mail. Oterwise it should send as mail alert. Below for your reference, # Email the spoolfile. diff free_sp_new.log free_sp_old.log if output of above... (1 Reply)
Discussion started by: thanvir.akram
1 Replies

9. UNIX for Dummies Questions & Answers

Need equialent command for batch scripts

Hi Friend, what is the equivalent command for batch scripting of tail -1. for example : i have a.txt file with below the contents. i need to print last line --------------------------------- Use descriptive thread titles when posting. For example, do not post questions with subjects like... (3 Replies)
Discussion started by: Jewel
3 Replies

10. Shell Programming and Scripting

Invoking system(cmd) inside awk command

Hi, I was searching for a way to grep 2 lines before and after a certain keyword, and I came across the following code.. awk "\$0 ~ /ORA-/ { cmd=\"awk 'NR>=\" NR-2 \" && NR<=\" NR+2 \"' init.ora\" system(cmd) }" input_file I could not understand how this works. What is system() ? what... (2 Replies)
Discussion started by: Kulasekar
2 Replies
IFRIT(1)						      General Commands Manual							  IFRIT(1)

NAME
ifrit - a powerful tool that can be used to visualize 3-dimensional data sets SYNOPSIS
ifrit [qt-options] [options] [dir_name] DESCRIPTION
This manual page documents briefly the ifrit command. This manual page was written for the Debian distribution because the original pro- gram does not have a manual page. OPTIONS
-8 accepts an 8-bit display -d starts IFRIT with all windows docked together into a single window. -nf does not show the splash screen at start-up -sw uses small font to reduce the QT window size -rw IFRIT is being used remotely. This option can be used to minimize re-drawing of the widget windows. -ni IFRIT is not idiosyncratic. This prompts IFRIT not to ask for a confirmation when exiting or running scripts. -np number sets the number of processors to use. Note that only some parts of IFRIT support parallel execution so far. -i file_name loads the state from the previously saved state file filename. -b file_name runs IFRIT in batch mode, taking animation script from the file filename. If filename starts with sign "+", standard directories (see ENVIRONMENT VARIABLES ) will be prepended to the file name. -h -help show the list of available command-line options. ENVIRONMENT VARIABLES
IFRIT understands the following environment variables (all in capitals): IFRIT_DIR The main IFRIT directory where you keep the variable file ifrit.nam and options file(s) ifrit.ini. If this variable is not set, IFRIT assumes that current directory is the main directory. IFRIT_DATA_DIR: The default directory for the data files. If not set, IFRIT will start searching for the data files in the current directory. IFRIT_MESH_DATA_DIR The default directory for the mesh data files. If not set, IFRIT will start searching for the mesh data in the default data direc- tory. IFRIT_PART_DATA_DIR The default directory for the particle data files. If not set, IFRIT will start searching for the particle data in the default data directory. IFRIT_VECT_DATA_DIR The default directory for the vector field data files. If not set, IFRIT will start searching for the vector field data in the default data directory. IFRIT_TENS_DATA_DIR The default directory for the tensor field data files. If not set, IFRIT will start searching for the tensor field data in the default data directory. IFRIT_IMAGE_DIR The directory where IFRIT will place image and animation files. If not set, IFRIT will put image files into the current directory. IFRIT_SCRIPT_DIR The directory where IFRIT will place animation scripts. If not set, IFRIT will put scripts into its main directory. IFRIT_PALETTE_DIR The directory where IFRIT will place custom palettes. If not set, IFRIT will put palettes into its main directory. SEE ALSO
The IFRIT help system. AUTHOR
This manual page was adapted by Mark Hymers <mark.hymers@ncl.ac.uk> from the ifrit help system, for the Debian project (but may be used by others). September 09, 2004 IFRIT(1)
All times are GMT -4. The time now is 11:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy