10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi guys,
I have written a script that waits for a trigger file.
Then checks the time of the trigger.
if the trigger finished between 8pm and midnight then runs a job.
else it waits till 1am then runs a different job.
I am still very new to scripting so any suggestions to improve my... (4 Replies)
Discussion started by: twinion
4 Replies
2. Programming
I am new in Linux and clustering. I am setting up a Beowulf Cluster using several PCs according to this guide "Beowulf How-To"
I have setup and configure accordingly except for NFS part. Because I am not requiring it for my application. I have set my ssh to login each other without password. I... (1 Reply)
Discussion started by: nsw1216
1 Replies
3. UNIX for Dummies Questions & Answers
We have a program source C and is required to indicate how many times each function is called from the C program. also print the line number where there is a call.
I've tried something like this:
#!/bin/sh
for i in $*;do
if !
then
echo $i is not a C file.
else echo $i... (0 Replies)
Discussion started by: oana06
0 Replies
4. Shell Programming and Scripting
I'm trying to run MPI programs on 8 machines, but I get the error
connect to address 127.0.0.1 port 544: Connection refused
Trying krb4 rsh...
connect to address 127.0.0.1 port 544: Connection refused
trying normal rsh (/usr/bin/rsh)
lagrid02: Connection refused
When I run it with a... (8 Replies)
Discussion started by: vishwamitra
8 Replies
5. Shell Programming and Scripting
Okay so I've got a command to start my java server up, but I want it to start at say 8:00AM and then stop at 11:00PM. In order to stop it I have to type stop and press enter in the terminal. I've been trying to get this to work and I'm having no luck. Here's my command:
#!/bin/bash
cd "`dirname... (2 Replies)
Discussion started by: JustChillin1414
2 Replies
6. Shell Programming and Scripting
i should use this script runs how many times before ?
how can i do_? (3 Replies)
Discussion started by: utoptas
3 Replies
7. Red Hat
Hi,
I need to install the following program on my Linux box (Red Hat)
Software for Pyrosequencing Noise Removal
The software only runs on Linux computers with MPI -I do not have MPI on my computer. I was hoping someone could please point me in the right direction so I can download and... (2 Replies)
Discussion started by: Xterra
2 Replies
8. Shell Programming and Scripting
Hi
I'm running a program many times with differents input.
I mean that i run my_prog with some parameters and i wait till the end, then i start again another simulations with some others differents parameters.
Is possible to make it automatic with a script bash.
Maybe i need some... (2 Replies)
Discussion started by: Dedalus
2 Replies
9. UNIX for Dummies Questions & Answers
I have thousands of lines a day of data I would like to sort out. Every sessions has the 3 lines below. I want to figure out each sessions length from Creation to Deletion. Every one has a unique session ID
logevent3:<190>Nov 20 08:41:06 000423df255c: 6|4096|RC|CAC: Created CAC session ID... (2 Replies)
Discussion started by: bpfoster7
2 Replies
10. Shell Programming and Scripting
Hi,
I am new to Unix and shell programming.
I am trying to write a shell program to read 4 variables from command line.
For example,
Please enter your name: somebody
Please enter your address: address
plase enter your phone: phone
I'd like to save all threee variables in my program for... (3 Replies)
Discussion started by: whatisthis
3 Replies