10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi all,
is there a way to run a script upon invoking an application . for eg if i click on mozilla i want a script to run , before runniing mozilla , maybe ask a password or something only then open mozilla (2 Replies)
Discussion started by: mithun1!
2 Replies
2. UNIX for Dummies Questions & Answers
Hi, I have lost a lot of hours by looking for answer but without results.. My problem is that:
I use Debian GNU/Linux and I want to configure cron in order to run rtorrent every day between 24.00 and 09.00. That part I have achieved, but I couldn't forced cron to make it visible on any of my... (10 Replies)
Discussion started by: juru_piotr
10 Replies
3. UNIX for Dummies Questions & Answers
Hello,
So I have approximately 300 files of raw data (.txt) files that I am using to perform statistical analysis. I have been able to construct a Fortran program that is able to perform my statistical analysis on a file by file basis.
However, I now want to be able to loop program through... (19 Replies)
Discussion started by: Jimmyd24
19 Replies
4. Shell Programming and Scripting
Hi, I was hoping for help with a for loop to run a program (vina) repeatedly using all the files in a folder as input. Currently my code looks like this:
#!/bin/bash
FILES=/home/afalk/Desktop/battest/*.pdbqt
for f in $FILES do
vina --config /home/afalk/Desktop/A.txt --ligand "$f".pdbqt
done... (5 Replies)
Discussion started by: oldmanwinter
5 Replies
5. Shell Programming and Scripting
I am using a very simple script (MUS) to process some files where the input file for the binary application I am running has to be named infile. So I have this:
#!/bin/bash
for i in {1..n}
do
mv block${i} infile
done
./dnadist <<EOF
D
Y
EOF
However, I want to use dnadist inside the... (3 Replies)
Discussion started by: Xterra
3 Replies
6. UNIX for Dummies Questions & Answers
I have a program R installed on Ubuntu under /usr/bin/R. I also have a different version installed under /home/user/R. I would like to invoke the locally installed program temporarily. How can I do this automatically by running a script and then switching to the default program?
thanks,
SM (2 Replies)
Discussion started by: smeme
2 Replies
7. Shell Programming and Scripting
eg: sample.dat
21111111110000652 B86860003OLFXXX0000001_20081227
21111111110000652 B86860003ODL-SP0000002_20081227
21111111110000652-B94030001ODL-CH0000003_20081227
22222222220000653-B94030001OLFXXX0000011_20081227
23333333330000654-E71060001OLFXXX0000012_20081227
24444444440000655... (5 Replies)
Discussion started by: kshuser
5 Replies
8. Shell Programming and Scripting
Hi all,
I don't know how to redirect a variable in this case:
while true
do
./ready_data
...
done
ready_data should read a file looking for an ID, if this doesn't exist then add the last ID seen into the first line.
When ID exists there is no problem, but when ID doesn't... (0 Replies)
Discussion started by: csecnarf
0 Replies
9. UNIX for Dummies Questions & Answers
I have a data file contain the following information:
1
2
3
4
5
10
11
30
90
300
9
29
and on and on
I need to create a program with give me the following data format:
Jon
A (2 Replies)
Discussion started by: bobo
2 Replies
10. Programming
How to invoke an Unix Script from C program?
(or)
How to invoke another C program from a C program?
thanks
Karthik (5 Replies)
Discussion started by: fermisoft
5 Replies