8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I want to submit my awk script into cluster queue as my job takes about forty minutes to finish so I can not run it on the main node.
My awk script is like the following and I have three files. so, I write :
qsub -q short.q Myscript.awk file1 file2 file3
It submits the work into... (1 Reply)
Discussion started by: Homa
1 Replies
2. OS X (Apple)
I have installed my flash application using shell script. I have created short cut to desktop. Now i want to change the default short cut Icon. Please tell me script to change the short cut icon.
---------- Post updated at 12:54 AM ---------- Previous update was at 12:33 AM ----------
Working... (0 Replies)
Discussion started by: rohaneee
0 Replies
3. Shell Programming and Scripting
I need to put a small delay into a shell script. I'm looking for something smaller than "sleep" - a second is way too long. I want to sleep something like 10 milliseconds. I've tried "usleep" and "nanosleep", but the script doesn't recognize them.
I'm using the bash shell but I'm willing to... (9 Replies)
Discussion started by: harmlesscat
9 Replies
4. Shell Programming and Scripting
Hi,
I have a csh:
set NODES = `cat $HOST_FILE`
set NODELIST = $TMPDIR/namd2.nodelist
echo group main >! $NODELIST
foreach node ( $NODES )
echo host $node >> $NODELIST
end
@ NUMPROCS = 2 * $#NODES
I am very frustrated to translate it to bash:
NODES = `cat... (3 Replies)
Discussion started by: rockytodd
3 Replies
5. UNIX Desktop Questions & Answers
Can anyone point me to the right direction on how to write a simple script that will display a message on any terminal when implemented?
Basically I need it so the script runs at a certain time, say April 30, 2010 and that the message will be displayed to me no matter which terminal I am logged... (2 Replies)
Discussion started by: jmack123
2 Replies
6. Shell Programming and Scripting
I already have a solution to my problem, but I'm looking to see if it can be made more succinct and faster. The problem: given a list, as shown below, extract the pathname for any file in a directory named 'ample' and return it's index into the list. The index is also in the data itself. Note that... (1 Reply)
Discussion started by: prigo
1 Replies
7. Shell Programming and Scripting
Situation:
I've logged in as ordinary_user1;
I can su to common_dev_user;
When I su to common_dev_user, I'm taken to the HOME dir of common_dev_user;
Everytime I need to cd to a particular folder from here (say like cd /developers/ordinary_user1/code/)
This is a repetitive task (su ing and... (3 Replies)
Discussion started by: krishmaths
3 Replies
8. UNIX for Dummies Questions & Answers
Im getting stumped on one of my unix problems. Im a college student taking unix and for one of my assignments I am to write a few programs. I done the programs but on one of them I have to modify it by using sed instead of a while do loop. here's the while loop
while
do
... (2 Replies)
Discussion started by: gummiworm
2 Replies