That depends on the real directory names and options. If they really are generic like that, then this might work.
or maybe this:
Thanks for the info. The options for submit are strait forward and are in the form: submit -n 8 filename. Where file name will be constant in every case*.
One thing you pointed out will come into play. The directories will actually be called:
case001
case002
...etc
Which is a bit more complicated. Is this the same thing?
You have given me a great starting point, I will try your ideas and let the forum what works for me.
I am relatively new to *nix and have set up a small home network with a red hat server, what i would like to do is write a small script to check to see if a computer is connected by using the ip address of the computer. can get the ping to return but cant get the echo line working. the output i... (3 Replies)
Hi,
So, I created a file named TEST.BAT in my home directory.
In it, I wrote:
#! /bin/bash
echo Hello
and then, saved the file.
Then, at the command-line interface, I typed TEST.BAT, but the command-line never executes the file and thus, never returns "Hello". It says "command... (2 Replies)
Hi all,
I am a newbie to unix programming using C..
So i would like to have a few simple C programs to start off with..
I wanted programs on learning ,
abort,kill and raise,alarm and pause,I would also like to know how to use the vfork() in a prg
It would be really great if i can have... (1 Reply)
Hi Guys,
I have a batch file that does a process "Import's sifs" & writes the log to a particular file. Sometimes in the log, it displays records with errors although there is no error.
Explaination -
IF SIF's are imported -> Successful
IF SIF's are not imported -> Error
IF SIF's are not... (2 Replies)
I am new to perl, and need a script to pull a CSV file, strip out 2 leading columns, and 2 ending columns, and resave the file in a new location. The file is basic and has less than 10,000 records. Secondly, can I schedule perl scripts to run daily? Can someone provide the basic script to... (1 Reply)
Hi guys ,
This is the first time i m running java application inside linux.
i have installed jdk-6u20-linux-i586-rpm.bin jre-6u20-linux-i586-rpm.bin in my linux machine.
and set JAVA_HOME and JRE_HOME variables respectively.
# echo $JAVA_HOME
/usr/java/jdk1.6.0_20/
# echo $JRE_HOME... (6 Replies)
Goal: for each hostname (mars, phobos, and deimos grab the value of state = in a variable so I work on it further.
I figured I'll need to use sed to find the target host name, then substitute the "linefeed and what I am assuming is a tab state =" to null and grab the state (in this case "free")... (3 Replies)
Good Day All,
I need your urgent support to get the following script (bash), (it should be as simple as possible please) :
The script will check the .csv file( attached example)
The script will generated 3 files from the initial one.
The script must check one field “NEType”, and then ... (2 Replies)
if ]; then
echo "successssssssssssssssssss"
$filename = "<font color='red'>$i</font>"
else
echo "failureeeeeeeeeeeeeeeeeeeee"
$filename = "$i"
fi;
I'm just trying to see is this - read a file name and highlight... (2 Replies)
but I'm stumped...please help
I have a file like this.......
1000 1 34
1000 10 34
1000 11 35
1000 20 35
1000 21 36
1000 30 36
2000 1 34
2000 10 34
which I would like printed out as 40 lines
1000 1 34
1000 2 34
1000 3 34
1000 4 ... (2 Replies)