10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello friends,
I have a script.sh running, i need to move his generated file to another path and restart it every 24h.
is there a way to restart it from a script in a dynamic way without create a duplicate process?
script.sh &
mv file to /path
script.sh & many thanks for your help (7 Replies)
Discussion started by: kraterions
7 Replies
2. Shell Programming and Scripting
I am currently running 2 scripts to gather data for a 3rd script and would like to combine the 2 scripts into one. Having issues with the final output format.
Note cannot post URL so replaced the http stuff with (name) in the examples
All scripts contain #!/bin/ksh OS = Red Hat Enterprise... (0 Replies)
Discussion started by: pcpinkerton
0 Replies
3. Shell Programming and Scripting
test.txt is the dynamic file but some of combination are fix
like below are the lines
;wonder_off =
;wonder_off = disabled
wonder_off =
wonder_off = disabled
the test.txt can content them in any order
#cat test.xt
;wonder_off =
;wonder_off = disabled
wonder_off =
wonder_off =... (5 Replies)
Discussion started by: SilvesterJ
5 Replies
4. Shell Programming and Scripting
Hey there, first post, somewhat-long-time lurker-
This is on a Red Hat box
Im working on a new site, and I have an idea for a dynamic CGI script to change who is "on call"
Pretty much, it would pull next name from a text file each week to display it on the site, and just keeps cycling through... (3 Replies)
Discussion started by: rapenchukd
3 Replies
5. Shell Programming and Scripting
Hi All,
I am stuck in a situation where there is a script, say test1.tcsh which is being called from another script ,say test2.tcsh
test1.tcsh:-
#!/usr/local/bin/tcsh
echo -n "Do you wanna test ??"
set answ = $<
echo $answ
if ($answ =~ "y") then
echo -n "enter your name <"
... (1 Reply)
Discussion started by: kavyak
1 Replies
6. Shell Programming and Scripting
Hi Forum.
When I run the following find command, I get the desired results:
find . \( -name a.out -o -name '*.o' -o -name 'core' \) -type f -ls
I want for my script to dynamically calculate and assign a variable var1 to contain all the files that I want to search instead of hard-coding.
... (2 Replies)
Discussion started by: pchang
2 Replies
7. UNIX for Advanced & Expert Users
I have a file that reads File (X.txt)
Contents of record 1:
rdrDESTINATION_ADDRESS (String) "91 971502573813"
rdrDESTINATION_IMSI (String) "000000000000000"
rdrORIGINATING_ADDRESS (String) "d0 movies"
rdrORIGINATING_IMSI (String) "000000000000000"
rdrTRAFFIC_EVENT_TIME... (0 Replies)
Discussion started by: magedfawzy
0 Replies
8. Shell Programming and Scripting
Hi,
I would like to edit an input data-file by changing a variable in it
in steps:
For ex: If my input file is 'big.in', then it has the following data:
2.54 0.01 0.5 0.0
My source code then reads this above line, executes and gives out some
output. Then ,
I want to increment... (1 Reply)
Discussion started by: habzone2007
1 Replies
9. Shell Programming and Scripting
Hello
I am trying to create a dynamic ksh script and I have an issue.
I have a script a.ksh and it has got the following lines (for example)
#!/bin/ksh
# trace mode +x : without trace -x : with trace
set +xv
echo hi, i am going to create a dynamic script now
cat >> dynamic.ks <<EOF... (2 Replies)
Discussion started by: sundarkumars
2 Replies
10. Shell Programming and Scripting
Hi,
I have to create a global dynamic script which should ask for the env or some other variables and then create the soft links.
let's say that I have to create ten soft links and the path for these soft links is different for each env
for e.g:
WDEV: /d02/app/applmgr/wdev/appl/CDCRM/bin... (2 Replies)
Discussion started by: isingh786
2 Replies