10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi!
I have two environments on a machine and each one has some scripts for checking if some interfaces are down, and if so, it restarts them.
The issue now is that i cannot keep both interfaces running, on both environments i see the same process running.
How can i modify my scripts in... (4 Replies)
Discussion started by: Jane_Doe
4 Replies
2. Shell Programming and Scripting
Hi all,
I'm having a problem with a script which should ultimately provide a filename by reading a value from file1 and file2 then join together.
I'm planning to use a loop/ loops to get the values out of both files and create a single string unfortunately the code currently treats the second... (7 Replies)
Discussion started by: chris01010
7 Replies
3. Shell Programming and Scripting
Hi,
I want to run the command below in the background:
tail -f file.txt | grep "pattern"
The file file.txt will start getting its contents written after this command has started getting run.
So the flow will be like this
tail -f file.txt | grep "pattern"
#The line below will write data... (0 Replies)
Discussion started by: King Nothing
0 Replies
4. Shell Programming and Scripting
Hi ,
I have a large no of files which all end in .asp.htm extension .
But for proper navigation between the pages I need to rename all those files as .asp only .
How can it be done ? (4 Replies)
Discussion started by: nshailesh
4 Replies
5. UNIX for Dummies Questions & Answers
Hi,
i want to call two programs simultaneously from a currently running program so as to distribute the job and fasten the speed.
As of now I call the programs one after the other within the main program.
e.g.
`perl A.pl`;
`perl B.pl`;
how can I run the two paralelly?
urgent ... please... (1 Reply)
Discussion started by: vipinccmb
1 Replies
6. Shell Programming and Scripting
Say I have 2 files of 2 rows of 3 columns each
file1:
cat catdata1 catdata2
dog dogdata1 dogdata2
file2:
cat catdata3 catdata4
dog dogdata3 dogdata4
and I need to combine both files so that is appears like:
cat catdata1 catdata2 catdata3 catdata4
dog dogdata1 dogdata2 dogdata3... (8 Replies)
Discussion started by: Awanka
8 Replies
7. Shell Programming and Scripting
hi
how floppy disks, CDs and flash drives (pen drives) are accessed in UNIX?
thanks (0 Replies)
Discussion started by: nokia1100
0 Replies
8. UNIX for Dummies Questions & Answers
Can I create a new directory and copy files to it in a single command (not by linking 2 commands with a semi colon)? If so how? The only way I can see to do it is to first create the new directory using mkdir THEN copy files to it using the cp command. (5 Replies)
Discussion started by: enuenu
5 Replies
9. Shell Programming and Scripting
Hi All,
I have a script and a diff program,(lets say a java program) which needs to be excuted simulaneously. What I am currently doing is excuting one in foregound and the other in the back ground. But as running the job in the background does not always fruitful, especially when the jobs are... (8 Replies)
Discussion started by: rinku11
8 Replies
10. Solaris
Hello, I want to run 2 apaches simultaneusly in a system, one operating with port 80 and the other one with 85, i already have the configuration files ready and i tryed something i saw in a manual, like this:
first i start apache as normal:
/usr/local/etc/httpd/bin/apachectl start
the i... (2 Replies)
Discussion started by: sx3v1l_1n51de
2 Replies