Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-12-2014, 04:56 AM   #1
LQ Newbie
Registered: Aug 2014
Posts: 4

Rep: Reputation: Disabled
Curl command, Json data to excel

Hi there,

I'm using the curl command to get data behind a graph on a website.

curl -k -u 'sensor:xxxxx' 'http://website&json'
This returns it as a json object in the terminal window which I'm not familiar with.

What I would like to do is to write the data into a text file that I can import into excel etc.

Would anybody be able to advise me how to do this?

I've tried writing it to a text file. Is this correct? where does the file get saved to?

curl -k -u 'sensor:xxxxx' 'http://website' -o output.txt
Old 08-12-2014, 07:46 AM   #2
LQ Newbie
Registered: Aug 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
any suggestions?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Curl command, Json data to excel gaa100 Linux - Newbie 3 08-13-2014 06:52 AM
Google Places API JSon Data trscookie Programming 1 12-08-2013 03:13 PM
How to copy Arabic data from excel fiel to another excel file in PERL? David the H. Linux - Newbie 0 04-23-2012 09:24 AM
[SOLVED] cURL POST data command from shell returns HTTP Error Code 408 fyndr Linux - Software 3 03-04-2011 09:17 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration