Search Results

Search: Posts Made By: jedzio
7,285
Posted By jedzio
Oh God! Thank You both for help! Yes, You are...
Oh God!
Thank You both for help! Yes, You are right, I am using notepad++, but in the Windows convention instead of Unix... How stupid I am. I've changed the convention to Unix type and my script...
7,285
Posted By jedzio
My OS version: Linux hostname...
My OS version:
Linux hostname 2.6.18-128.1.10.el5 #1 SMP Wed Apr 29 13:53:08 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

Unfortunately, it still doesn't work... I am confused a bit now :confused:...
7,285
Posted By jedzio
Hello, Thanks for prompt reply! Appreciate...
Hello,

Thanks for prompt reply! Appreciate that.
Please find below whole script:
#!/bin/bash
echo "=== Checking logs ==="
returned=`tail -50 SapLogs.log | grep -i "Error"`
echo $returned
if...
7,285
Posted By jedzio
IF section problem. syntax error: unexpected end of file error
Hello,

I have another problem with my script. Please accept my apologies, but I am really nooby in sh scripts. I am writing it for first time.

My script:
returned=`tail -50 SapLogs.log | grep...
1,443
Posted By jedzio
Hello, Thank You a lot! It works now. But.....
Hello,

Thank You a lot! It works now. But.. I have another problem now. I'll post new topic. Please look there if You have a moment.

Regards,
Adrian Jędrzejewski
1,443
Posted By jedzio
Grep doesn't work when assigning to variable
Hello,

First of all, I'd like to say hello to all members of forum.
Can You please help me with the matter described below?
I am trying to fetch a data from the file to variable, I am doing this...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 09:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy