Search Results

Search: Posts Made By: balu1234
60,028
Posted By balu1234
Hi Andrew, Thanks for your response. ...
Hi Andrew,

Thanks for your response.

CentOS Linux 7 is my operating system.

i installed jq pkg on my server.

i tried below command:

# jq -s -R '[[ split("\n")[] | select(length > 0) |...
60,028
Posted By balu1234
How to convert any shell command output to JSON format?
Hi All,

I am new to shell scripting, Need your help in creating a shell script which converts any unix command output to JSON format output.
example:
sample df -h command ouput :

Filesystem ...
Showing results 1 to 2 of 2

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