9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am new to DB2 and in need of urgent help.
Here we have about 100 queries (SQL) that have been manually executed to retrieve totals from different tables
and post it to Excel spreadsheet. Is there any way I can create a shell script as a wrapper and execute
these queries and create a... (5 Replies)
Discussion started by: bhaskar v
5 Replies
2. UNIX for Dummies Questions & Answers
Hello All,
How do i overwrite a sourced script variable value.
Sourced Script:
GEN_PARAM_LIST4=""$LOG_DIR"/dwh_GenerateXMLFile.lst"
GEN_PARAM_LIST4_v2=""$LOG_DIR"/dwh_GenerateXMLFile.v2.lst"
I am using below statement for replacing.
Script2:
&&... (1 Reply)
Discussion started by: Ariean
1 Replies
3. Shell Programming and Scripting
My script work on Linux but not work in sun os.
my script.
logFiles="sentLog1.log sentLog2.log"
intial_time="0 0"
logLocation="/usr/local/tomcat/logs/"
sleepTime=600
failMessage=":: $(tput bold)Log not update$(tput rmso) = "
successMessage="OK"
arr=($logFiles)... (7 Replies)
Discussion started by: ooilinlove
7 Replies
4. Shell Programming and Scripting
Hi,
I construct a bash script to finish some tasks. One of the task is to set up some environment variables. There is already one script file to complete the environment variables setting work. I am not able to know the detail of how to set these variables. So, I may just need to call this... (4 Replies)
Discussion started by: gofortime
4 Replies
5. Shell Programming and Scripting
i have atcl script and i want to source a csh script to reflect changes done by script ........
Please help....... (0 Replies)
Discussion started by: paragarora47
0 Replies
6. Shell Programming and Scripting
Hi
While running a Shell Script in a K Shell using the source command
source <script_name>
It gives the error ..
source: not found.
Null message body; hope that's ok
Is it that the source command does not work in K Shell.
It works well in bash shell. (2 Replies)
Discussion started by: harneet2004us
2 Replies
7. Shell Programming and Scripting
Hi
I have this code, and i want work with a ls -shalR output in .txt
What i need read to do this??
Where start?
#!/usr/bin/perl
# Allrights- A perl tool for making backups of file permissions
# Copyright (C) 2005 Norbert Klein <norbert@acodedb.com>
# This program is free... (1 Reply)
Discussion started by: joangopan
1 Replies
8. UNIX for Dummies Questions & Answers
Howdie everyone...
I have a shell script RemoveFiles.sh
Inside this file, it only has two commands as below:
rm -f ../../reportToday/temp/*
rm -f ../../report/*
My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Discussion started by: cheongww
2 Replies
9. UNIX for Dummies Questions & Answers
What is the difference between sourcing a script, running it or execing it? (1 Reply)
Discussion started by: 98_1LE
1 Replies