10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Since this question (similar) occur every now and then, and given the fact i was thinking about it just recently (1-2 weeks) anyway, i started to write something :p
The last point for motivation was... (17 Replies)
Discussion started by: sea
2. Shell Programming and Scripting
I have a script that is running multiple instances of an application in parallel.
# learn on f0
emergent -nogui -p $ScriptLoc/$PROJ fold_tag=f0 &
# learn on f1
emergent -nogui -p $ScriptLoc/$PROJ fold_tag=f1 &
# learn on f2
emergent -nogui -p... (4 Replies)
Discussion started by: LMHmedchem
3. Shell Programming and Scripting
I am running a macro script from the command line. But the script doesn't wait until the task has finished.
How do I get it to wait until the macro has been completed?
I am using imacros, a firefox... (1 Reply)
Discussion started by: locoroco
4. Shell Programming and Scripting
I have a script which uses cli curl to download the source code of a webpage and then tests if a specific string exists in the source.
The problem is that the website has a slow response, so the eval expression hasn't completed when the test starts.
The test returns a negative, and the curl... (8 Replies)
Discussion started by: locoroco
5. Shell Programming and Scripting
I have a script that is monitoring a hot folder. This script works fine with one exception when the script is executed while a file is being copied to the hot folder.
What is the easiest method to check if the copy file is completed? I'd like to get the solution in bash :) (8 Replies)
Discussion started by: gigagigosu
6. Shell Programming and Scripting
I am writing a C shell script that starts a program. The program forks of several child processes. Only when all child processes are done, I want to archive my log files. Below is what I have so far, but unfortunately it doesn't work.
if (-e processes.txt) then
rm... (2 Replies)
Discussion started by: Carla
7. Shell Programming and Scripting
I want to know is there a way by which we can know that a C++ executable has finished its job in shell script.
My task is as follows:
1.Shell script calls a executable
2.Executable executes and performs its job of generating some reports.
Now i want my shell script to... (4 Replies)
Discussion started by: electroon
8. Shell Programming and Scripting
So, the script I've been working on, since I was starting to learn Shell scripting is now complete.
This was coded in ksh, and I am very proud of it.
What this script does, is syncs up uid's across the network. So if you have 10 servers, with 10 usernames with different UID's - this will... (1 Reply)
Discussion started by: syndex
9. UNIX for Dummies Questions & Answers
In my last job someone gave me the command to put in my .profile that let me know when a job I had running in the background finished. It was a word about 5 char long. I can't remember it! (4 Replies)
Discussion started by: nkeller
10. UNIX for Advanced & Expert Users
I have an application which basically runs lots of UNIX programs remotely, using the Telnet protocol. For each program it remotely executes, it stores the process ID (PID) for that process.
At regular intervals, I would like my application to take the PID for every process still... (5 Replies)
Discussion started by: 1cuervo