Search Results

Search: Posts Made By: sk2code
5,853
Posted By sk2code
Thanks everyone for replying back on this thread....
Thanks everyone for replying back on this thread. RudiC, you solution worked fine. I know regex is a bit tricky but we have this special need where we have to only use regex.

Thanks again.
5,853
Posted By sk2code
Thanks RudiC for the quick reply. Can you please...
Thanks RudiC for the quick reply. Can you please send the code for those changes?
5,853
Posted By sk2code
Regex to match Exact port number (netstat command)
Hi All,

We have this regex:\\*.*?(.600[0-9]).*?.(LISTEN|ESTABLISHED)

OS = Solaris 10

The purpose of this regex is to match the ports in output of "netstat -an" and report if any ports...
4,583
Posted By sk2code
Thanks RudiC I have made the changes as suggested...
Thanks RudiC I have made the changes as suggested by you and it works fine now.
4,583
Posted By sk2code
"if" Loop not working when executing script using cron
I am facing this weird issue where the script is working fine from the command line but when I am executing it from cron though it is working fine but the "if" loop is processing else part though I...
2,874
Posted By sk2code
Configure sendmail to Only send mail to one domain
On both Solaris 10 and RHEL, we would like to configure sendmail in such a way that the email sent from the server should only go to a particular domain. For eg. We want our server to ONLY send the...
2,682
Posted By sk2code
Yoda and everyone thanks for your help. The...
Yoda and everyone thanks for your help.
The awk command still results in blank output but the following command helped me.

sed 's#.*txt>##;s#<.*##' file.html

Thank you!!
2,682
Posted By sk2code
I Just ran this but it is giving me no output....
I Just ran this but it is giving me no output. Just blank lines. This HTML file is having 5 lines and when I run the command you mentioned I am just getting 5 blank lines.
2,682
Posted By sk2code
Retrieve information Text/Word from HTML code using awk/sed
awk/sed newbie here. I have a HTML file and from that file and I would like to retrieve a text word.

<font face=arial size=-1><li><a href=/value_for_clients/Tokyo/abc_process.txt>abc</a> NDK...
Showing results 1 to 9 of 9

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