10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
e.g.
File name: File.txt
cat File.txt
Result:
#INBOUND_QUEUE=FAQ1
INBOUND_QUEUE=FAQ2
I want to get the value for one which is not commented out.
Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies
2. Shell Programming and Scripting
i Run 2 scripts on all of around 50 nodes every day.
1.Mod_1.sh
2.Mod_2.sh
eg..
i run file with specific node no like
Mod_1.sh NODE_(node number)
Mod_2.sh NODE_(node number)
I want to run both file by using single script with unique node number.
Eg..
Mod_new.sh NODE_(node... (11 Replies)
Discussion started by: Ganesh Mankar
11 Replies
3. 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
4. Shell Programming and Scripting
Hi,
I'd like to redirect the STDOUT output from my script to a file and simultaneously display it at a console.
I've tried this command:
myscript.sh | tail -f
However, it doesn't end after the script finishes running
I've also tried this:
myscript.sh | tee ~/results.txt
But it writes... (3 Replies)
Discussion started by: wenclu
3 Replies
5. Shell Programming and Scripting
Hi guys, i already search in this forum and i can't find a way to do this. I have a file like this:
-1 1 lig
-1 1 lig
-1 1 lig
-1 -1 dec
-1 -1 dec
-1 -1 dec
-1 -1 dec
-1 -1 dec
-1 -1 dec
And i need to compare the values of... (7 Replies)
Discussion started by: MetaBolic0
7 Replies
6. Shell Programming and Scripting
i have a parent process and 5 child process.
As soon as the parent process is completed the 5 child processes need to start simultaneously (like multithreading)
All I need to do in a shell script
the child process is a function
can any one help me on this
thanks in advance (1 Reply)
Discussion started by: trichyselva
1 Replies
7. Shell Programming and Scripting
#!/bin/sh
firefox index.html
firefox secondpage.html
hey guys, im not able to open up two pages at the same time...
it always open up index.html first, and only after i close it, then the 2nd page pops up...
is there any way i can run both commands at the same time?
i appreciate any... (2 Replies)
Discussion started by: funnyguy123
2 Replies
8. Shell Programming and Scripting
Hi, i want to start my script only by the name of it.
$ scriptName
normaly i have to use ./scriptName oder sh scriptName
is there a way to do that in bash or sh ? (13 Replies)
Discussion started by: Turrican
13 Replies
9. Shell Programming and Scripting
dear friends,
i want to make a bash script that can be executed by many people simultaneously. do you have any idea to make it?
there will be many dependent-variables(which is input from people) in the scripts.
i am thinking about a random temporary file that created by the bash script each... (4 Replies)
Discussion started by: jimmbp
4 Replies
10. UNIX for Dummies Questions & Answers
Please Help! :o
I have a main script (ksh) where another script is called (convert_picture). Normally this works ok, but since some changes has been made on the unix-server (I dont know what :( ) suddenly it doesnt work anymore: i get an error message: ksh: convert_picture not found. I am... (3 Replies)
Discussion started by: Rakker
3 Replies