Super-intelligent!!! Thanks a million! It works like a charm! Especially, reading the three numbers I tried many times without any success.
Could you please explain a little bit on "
"? It's genius!
---------- Post updated at 02:34 AM ---------- Previous update was at 01:54 AM ----------
Quote:
Originally Posted by RudiC
This is as far as I get on first attempt; use it as a template to be enhanced. For the correct order of lines of information, it might be worthwhile to create a template form to be read and then filled in from the log files.
resulting in
Hi RudiC, thanks for the smart code to help me out of heavy manual work. It's only one place does'n fit to the format of the input. That is multiple matches for /SCF Done/ will be presented in the log file, and only the last match is the correct value. Here, the script reads all of them (two of them, although the same value here, but not necessarily equal for other case). Would you please help me to fix it? Many thanks for your great job!
Last edited by Scrutinizer; 06-01-2015 at 03:12 PM..
Reason: codE tags
Good day,
I'm new to linux environment...Is there any scripts available for me to check ports (lets say port 80 and 21) through shell with just a single commandline?
Any response is very much appreciated..
thanks (4 Replies)
hi ,
i m trying to run bash scrip automaticially but i dont know how i can do this an anybody tell me how i can autorun shell script when i logon .
thanks (9 Replies)
i have a script which has 2 options.
a
b
And a has 6 sub options.
i want to write a script which will call the parent script and give options automatically.
examle:
linasplg11:/opt/ss/kk/01.00/bin # startup.sh
/opt/ss/rdm/01.00
Please select the component to... (2 Replies)
Hi
In TOAD I can write SQL code, then select the SQL code
-> Menu Edit -> Format Code
The output is well formatted code (correct indent, ...)
Is there a tool (for Windows and/or UNIX) what can do the same for bash code?
TOAD (software) - Wikipedia, the free encyclopedia (1 Reply)
I am new to shell scripting and need to write a program to copy files that are posted as links on a specific url. I want all the links copied with the same file name and the one posted on the webpage containing the url onto a specific directory. That is the first part. The second part of the script... (2 Replies)
Hi,
I am having issues trying to figure out how to rename files like this:
TEST1_B.tt
To
SQP_CAN_B.tt
I have hundreds of files like those, I need to rename them automatically.
Any help will be greatly appreciated.
Thanks, (5 Replies)
Hi, What will be the best way to connect (ssh) to hundreds of nodes and grep log files parallely from shell. Using for loop seems to be sequential. Are there any shell built in construct which could be used to achieve this? Is the sub shell any good here? (1 Reply)
Need assistance to add code to hundreds of .html
Code will look like below and needs to be added below <html> tag:
<script>
Some .js code here
</script>
This will be used in Fedora release 7 (Moonshine).
I will appreciate any type of help and/or orientation.
Thank you! (4 Replies)