Search Results

Search: Posts Made By: chandana.hs
Forum: Programming 04-19-2018
3,021
Posted By chandana.hs
Python- Client and server certificate validation
Hello Team,

I have to verify the Client server certificate validation in HTTPS request(SSL hand shake before the actual HTTPS post request), And tried various ways and failed to verify it...
4,614
Posted By chandana.hs
Thanks RudiC. but even after the service_cmd...
Thanks RudiC.

but even after the service_cmd value is substituted, execution fails.

Not getting much, went for simpler for loop. But will see if i get something :(

for was_service in `ls...
4,614
Posted By chandana.hs
---------- Post updated 03-17-17 at 09:11 AM...
---------- Post updated 03-17-17 at 09:11 AM ---------- Previous update was 03-16-17 at 04:59 PM ----------

Thanks RudiC.

used the suggested and it works fine, But the execution of the variable...
4,614
Posted By chandana.hs
Thanks RudiC, i have written something like...
Thanks RudiC,

i have written something like below in sed & awk,
var1=$(ls /etc/init.d/*was.init | sed '/interdependentwas/d;/NodeAgent/d;/dmgr/d;s#/etc/init.d/##g;s#.*#/sbin/service & status#g' |...
4,614
Posted By chandana.hs
awk : ORS not to be printed after the last record
Hello Team,

here is the code:
scripts]# ls /etc/init.d/ | awk 'BEGIN{ORS=" && "} /was.init/ && !/interdependentwas/ && !/NodeAgent/ && !/dmgr/{print "\$\{service_cmd\} "$0 " status"}' 2>/dev/null...
1,779
Posted By chandana.hs
Hi Rudic, Thank you for the solution, And...
Hi Rudic,

Thank you for the solution,
And again , one more query, What does the _ & number 1 mean towards the end?

awk '{gsub (/\\n/, RS); gsub (/\([^)]*\)|\047/, _)} 1' file

Thank you....
1,779
Posted By chandana.hs
Thanks RudiC, that works perfect. i want to...
Thanks RudiC, that works perfect.

i want to understand ([^)]* a little more, Would you mind explaining?

Also can this be done with awk, by setting RS built-in variable?
1,779
Posted By chandana.hs
awk RS declaration with \n
Hello Team,
input text:...
1,849
Posted By chandana.hs
Thanks, Both the commands worked..!:) {...
Thanks,

Both the commands worked..!:)

{ echo "- ERROR : required cluster_info NIPE file used for installation/upgrade is missing.. exiting.."; exit 1; }

{ printf '%s\n' "- ERROR : required...
1,849
Posted By chandana.hs
Usage of flower braces {} with test command
hello team,

I'm facing the problem with below code set with usage of {},
i want to use {} instead of (), as i don want bash to fork a new shell.

Source :
If you invoke the exit in a subshell,...
2,073
Posted By chandana.hs
Thanks Ravinder. :) Could you/Team explain...
Thanks Ravinder. :)

Could you/Team explain on how the for loop is working in below code block?

for i in ${!SDV_*}; do export $i done

Regards,
Chandana

---------- Post updated...
2,073
Posted By chandana.hs
Explaination on export command
Hello Team,

Could you pls explain how export command works in below code:


for i in ${!SDV_*}; do
export $i
done
As per my understanding, if ...
Showing results 1 to 12 of 12

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