10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
I want to call multiple sites simultaneously by xargs or parallel
for example
a.com/srv/1
a.com/srv/3
a.com/srv/2
a.com/srv/n
That means 500 different sites will be called in a moment
Then I use command I call a url at the same time. I need to call each url once, but every 500... (1 Reply)
Discussion started by: mnnn
1 Replies
2. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
So my problem is: 4990 of 5000 users should be able to access a file. How can this be accomplished.
2.... (1 Reply)
Discussion started by: protiss
1 Replies
3. Shell Programming and Scripting
I have a command lline script that works perfectly.
cat <some_filename> | awk '$9 == 200' | awk '$10 == 10623720' | awk -F\" '{print $6}' | sort | uniq -c | sort -r
I want to put this in a shell script so that we do this for multiple files(all read from a file list) and write each output to... (5 Replies)
Discussion started by: ampak
5 Replies
4. UNIX for Dummies Questions & Answers
I just registered today and started unix about a month ago.
I'm trying to make a script where I can add commands or text to the end of files in a listing.
$ echo "#text_or_command" >> #List of files from ls
I can't seem to find/understand it on these fourms.
Could it be done at... (4 Replies)
Discussion started by: 62583
4 Replies
5. Shell Programming and Scripting
I have 5 scripts, basicly do the same thing. Use expect and telnet to devices.
First set the variables and the script as follow
spawn telnet $ipaddr
expect "Username:"
send -- "$usuario\r"
expect "Password:"
send -- "$password\r"
send -- "\r"
send -- "\r"
send -- "copy running-config... (6 Replies)
Discussion started by: robonet
6 Replies
6. Shell Programming and Scripting
Using these 2 comands to concatenate both outputs into single file:
cat testdata | awk 'BEGIN { FS="\n"; RS=""; } /<pattern1>/ {print}' > testdata1
cat testdata| awk '/<pattern2>/,EOF' >> testdata1
is it possible to combine both "awk" into 1-liner?
pls advise and thanks in advance. (5 Replies)
Discussion started by: ux4me
5 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I need information on file handling in UNIX enviornment.
If in UNIX enviornment I have two process..
P1
P2
Both accessing the same file simultaneosuly(read operation)..
Suppose P1 opened the file in read mode first and started reading the file..
Then P2 opens the same file in... (5 Replies)
Discussion started by: chibob
5 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I'm working in a project where several procedures are programmed using UNIX scripts.
One of these scripts is launched in several threads. When performing these threads an scp command to another server it gives out. This error happens only sometimes, others not and each time for a... (5 Replies)
Discussion started by: Hector_Saura
5 Replies
9. UNIX for Dummies Questions & Answers
Hi!
I need to start a program at several hosts in the network at the same time. Starting time difference should be no more than several milliseconds. What is the best way to do that?
Thanks! (5 Replies)
Discussion started by: harjar
5 Replies
10. UNIX for Dummies Questions & Answers
I am running AIX 4.3 and network printing setup with HP Jetdirect. I would like to be able to send the same printout to both of the network printers at the same time. They are both PCL
data stream. I have tried to make this work by linking the two print que, by the results are unpredictable.
Is... (1 Reply)
Discussion started by: sjk303
1 Replies