LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Conversion of Nagios.config from hexadecimal to Text file (https://www.linuxquestions.org/questions/linux-newbie-8/conversion-of-nagios-config-from-hexadecimal-to-text-file-4175606704/)

Parveen88 05-26-2017 08:41 AM

Conversion of Nagios.config from hexadecimal to Text file
 
Hello All,

I was trying a back-up tool and due to it my nagios.config file has been converted to a hexa-decimal format.

This is the output of base64 nagios.config
H4sIABsUKFkAA+3BAQ0AAADCoPdPbQ43oAAAAAAAAAAAAIA3A5reHScAKAAACg==

I want to convert it back to text format. Please suggest.

Best Regards
Parveen.

TB0ne 05-26-2017 08:48 AM

Quote:

Originally Posted by Parveen88 (Post 5715447)
Hello All,
I was trying a back-up tool and due to it my nagios.config file has been converted to a hexa-decimal format.

This is the output of base64 nagios.config
H4sIABsUKFkAA+3BAQ0AAADCoPdPbQ43oAAAAAAAAAAAAIA3A5reHScAKAAACg==

I want to convert it back to text format. Please suggest.

Read the "Question Guidelines" link in my posting signature. Without details, we can't offer much in the way of help. You don't tell us what version/distro of Linux, or what this backup tool was, how you ran it, from where, etc. We can't guess.

To that end, just putting "linux base 64 text file" into Google (where you probably found THIS site), gives you this as the very first hit:
https://linux.die.net/man/1/base64

Did you try that?


All times are GMT -5. The time now is 07:55 PM.