view excel files in linux command line without installing any packages

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












0















I am connected to a server where I don't have sudo privileges to install packages such as Libreoffice. I only want to view an excel file might be .xlsx or .xls on linux terminal with a command line, is there an easy way to do that?










share|improve this question

















  • 1





    scp it to a Windows machine?

    – Jeff Schaller
    Jan 16 at 20:29






  • 1





    Well, easy differs from one person to another. excel files are actually compressed xml files (along with some other data). So, when you decompress an excel file, you will see the file content in xml format. Have fun!

    – joker
    Jan 16 at 20:31











  • I tried that but there are many folders with excell files in them and i need to check if which one is complete, I want to able to do it with a command line so it will be faster,thnaks

    – kutlus
    Jan 16 at 20:33











  • You need to check the directories extracted and view all candidate xml files until you find your target.

    – joker
    Jan 16 at 20:35















0















I am connected to a server where I don't have sudo privileges to install packages such as Libreoffice. I only want to view an excel file might be .xlsx or .xls on linux terminal with a command line, is there an easy way to do that?










share|improve this question

















  • 1





    scp it to a Windows machine?

    – Jeff Schaller
    Jan 16 at 20:29






  • 1





    Well, easy differs from one person to another. excel files are actually compressed xml files (along with some other data). So, when you decompress an excel file, you will see the file content in xml format. Have fun!

    – joker
    Jan 16 at 20:31











  • I tried that but there are many folders with excell files in them and i need to check if which one is complete, I want to able to do it with a command line so it will be faster,thnaks

    – kutlus
    Jan 16 at 20:33











  • You need to check the directories extracted and view all candidate xml files until you find your target.

    – joker
    Jan 16 at 20:35













0












0








0








I am connected to a server where I don't have sudo privileges to install packages such as Libreoffice. I only want to view an excel file might be .xlsx or .xls on linux terminal with a command line, is there an easy way to do that?










share|improve this question














I am connected to a server where I don't have sudo privileges to install packages such as Libreoffice. I only want to view an excel file might be .xlsx or .xls on linux terminal with a command line, is there an easy way to do that?







linux excel






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 16 at 20:22









kutluskutlus

596




596







  • 1





    scp it to a Windows machine?

    – Jeff Schaller
    Jan 16 at 20:29






  • 1





    Well, easy differs from one person to another. excel files are actually compressed xml files (along with some other data). So, when you decompress an excel file, you will see the file content in xml format. Have fun!

    – joker
    Jan 16 at 20:31











  • I tried that but there are many folders with excell files in them and i need to check if which one is complete, I want to able to do it with a command line so it will be faster,thnaks

    – kutlus
    Jan 16 at 20:33











  • You need to check the directories extracted and view all candidate xml files until you find your target.

    – joker
    Jan 16 at 20:35












  • 1





    scp it to a Windows machine?

    – Jeff Schaller
    Jan 16 at 20:29






  • 1





    Well, easy differs from one person to another. excel files are actually compressed xml files (along with some other data). So, when you decompress an excel file, you will see the file content in xml format. Have fun!

    – joker
    Jan 16 at 20:31











  • I tried that but there are many folders with excell files in them and i need to check if which one is complete, I want to able to do it with a command line so it will be faster,thnaks

    – kutlus
    Jan 16 at 20:33











  • You need to check the directories extracted and view all candidate xml files until you find your target.

    – joker
    Jan 16 at 20:35







1




1





scp it to a Windows machine?

– Jeff Schaller
Jan 16 at 20:29





scp it to a Windows machine?

– Jeff Schaller
Jan 16 at 20:29




1




1





Well, easy differs from one person to another. excel files are actually compressed xml files (along with some other data). So, when you decompress an excel file, you will see the file content in xml format. Have fun!

– joker
Jan 16 at 20:31





Well, easy differs from one person to another. excel files are actually compressed xml files (along with some other data). So, when you decompress an excel file, you will see the file content in xml format. Have fun!

– joker
Jan 16 at 20:31













I tried that but there are many folders with excell files in them and i need to check if which one is complete, I want to able to do it with a command line so it will be faster,thnaks

– kutlus
Jan 16 at 20:33





I tried that but there are many folders with excell files in them and i need to check if which one is complete, I want to able to do it with a command line so it will be faster,thnaks

– kutlus
Jan 16 at 20:33













You need to check the directories extracted and view all candidate xml files until you find your target.

– joker
Jan 16 at 20:35





You need to check the directories extracted and view all candidate xml files until you find your target.

– joker
Jan 16 at 20:35










1 Answer
1






active

oldest

votes


















2














You can't do that. XLS and XLSX are binary format data files and you need a tool that can unpack them in order to be able to view the contents. (To be precise, XLSX is compressed XML, but its unsupported readability is exceedingly low.)






share|improve this answer

























  • That's a wrong answer. They are not binary files. They are compressed files. You can decompress those and find xml files inside.

    – joker
    Jan 16 at 20:32











  • You edited the answer. However, you should remove binary format. That's not correct.

    – joker
    Jan 16 at 20:34











  • Thanks Roaima. Also what package would be the best to install, libreoffice or something different?

    – kutlus
    Jan 16 at 20:40











  • @joker, IMO binary format is correct. The format may start with a ZIP container but it's not text. Microsoft's definition (added to my answer) also considers XLS to be a binary format file.

    – roaima
    Jan 16 at 20:41






  • 1





    Yeah, been unzipping them in the last few years. Now if you ask me why, can't remember. Good news, it is not alzheimer yet ;)

    – Rui F Ribeiro
    Jan 16 at 22:43










Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f494917%2fview-excel-files-in-linux-command-line-without-installing-any-packages%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














You can't do that. XLS and XLSX are binary format data files and you need a tool that can unpack them in order to be able to view the contents. (To be precise, XLSX is compressed XML, but its unsupported readability is exceedingly low.)






share|improve this answer

























  • That's a wrong answer. They are not binary files. They are compressed files. You can decompress those and find xml files inside.

    – joker
    Jan 16 at 20:32











  • You edited the answer. However, you should remove binary format. That's not correct.

    – joker
    Jan 16 at 20:34











  • Thanks Roaima. Also what package would be the best to install, libreoffice or something different?

    – kutlus
    Jan 16 at 20:40











  • @joker, IMO binary format is correct. The format may start with a ZIP container but it's not text. Microsoft's definition (added to my answer) also considers XLS to be a binary format file.

    – roaima
    Jan 16 at 20:41






  • 1





    Yeah, been unzipping them in the last few years. Now if you ask me why, can't remember. Good news, it is not alzheimer yet ;)

    – Rui F Ribeiro
    Jan 16 at 22:43















2














You can't do that. XLS and XLSX are binary format data files and you need a tool that can unpack them in order to be able to view the contents. (To be precise, XLSX is compressed XML, but its unsupported readability is exceedingly low.)






share|improve this answer

























  • That's a wrong answer. They are not binary files. They are compressed files. You can decompress those and find xml files inside.

    – joker
    Jan 16 at 20:32











  • You edited the answer. However, you should remove binary format. That's not correct.

    – joker
    Jan 16 at 20:34











  • Thanks Roaima. Also what package would be the best to install, libreoffice or something different?

    – kutlus
    Jan 16 at 20:40











  • @joker, IMO binary format is correct. The format may start with a ZIP container but it's not text. Microsoft's definition (added to my answer) also considers XLS to be a binary format file.

    – roaima
    Jan 16 at 20:41






  • 1





    Yeah, been unzipping them in the last few years. Now if you ask me why, can't remember. Good news, it is not alzheimer yet ;)

    – Rui F Ribeiro
    Jan 16 at 22:43













2












2








2







You can't do that. XLS and XLSX are binary format data files and you need a tool that can unpack them in order to be able to view the contents. (To be precise, XLSX is compressed XML, but its unsupported readability is exceedingly low.)






share|improve this answer















You can't do that. XLS and XLSX are binary format data files and you need a tool that can unpack them in order to be able to view the contents. (To be precise, XLSX is compressed XML, but its unsupported readability is exceedingly low.)







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 16 at 20:40

























answered Jan 16 at 20:31









roaimaroaima

44.3k555119




44.3k555119












  • That's a wrong answer. They are not binary files. They are compressed files. You can decompress those and find xml files inside.

    – joker
    Jan 16 at 20:32











  • You edited the answer. However, you should remove binary format. That's not correct.

    – joker
    Jan 16 at 20:34











  • Thanks Roaima. Also what package would be the best to install, libreoffice or something different?

    – kutlus
    Jan 16 at 20:40











  • @joker, IMO binary format is correct. The format may start with a ZIP container but it's not text. Microsoft's definition (added to my answer) also considers XLS to be a binary format file.

    – roaima
    Jan 16 at 20:41






  • 1





    Yeah, been unzipping them in the last few years. Now if you ask me why, can't remember. Good news, it is not alzheimer yet ;)

    – Rui F Ribeiro
    Jan 16 at 22:43

















  • That's a wrong answer. They are not binary files. They are compressed files. You can decompress those and find xml files inside.

    – joker
    Jan 16 at 20:32











  • You edited the answer. However, you should remove binary format. That's not correct.

    – joker
    Jan 16 at 20:34











  • Thanks Roaima. Also what package would be the best to install, libreoffice or something different?

    – kutlus
    Jan 16 at 20:40











  • @joker, IMO binary format is correct. The format may start with a ZIP container but it's not text. Microsoft's definition (added to my answer) also considers XLS to be a binary format file.

    – roaima
    Jan 16 at 20:41






  • 1





    Yeah, been unzipping them in the last few years. Now if you ask me why, can't remember. Good news, it is not alzheimer yet ;)

    – Rui F Ribeiro
    Jan 16 at 22:43
















That's a wrong answer. They are not binary files. They are compressed files. You can decompress those and find xml files inside.

– joker
Jan 16 at 20:32





That's a wrong answer. They are not binary files. They are compressed files. You can decompress those and find xml files inside.

– joker
Jan 16 at 20:32













You edited the answer. However, you should remove binary format. That's not correct.

– joker
Jan 16 at 20:34





You edited the answer. However, you should remove binary format. That's not correct.

– joker
Jan 16 at 20:34













Thanks Roaima. Also what package would be the best to install, libreoffice or something different?

– kutlus
Jan 16 at 20:40





Thanks Roaima. Also what package would be the best to install, libreoffice or something different?

– kutlus
Jan 16 at 20:40













@joker, IMO binary format is correct. The format may start with a ZIP container but it's not text. Microsoft's definition (added to my answer) also considers XLS to be a binary format file.

– roaima
Jan 16 at 20:41





@joker, IMO binary format is correct. The format may start with a ZIP container but it's not text. Microsoft's definition (added to my answer) also considers XLS to be a binary format file.

– roaima
Jan 16 at 20:41




1




1





Yeah, been unzipping them in the last few years. Now if you ask me why, can't remember. Good news, it is not alzheimer yet ;)

– Rui F Ribeiro
Jan 16 at 22:43





Yeah, been unzipping them in the last few years. Now if you ask me why, can't remember. Good news, it is not alzheimer yet ;)

– Rui F Ribeiro
Jan 16 at 22:43

















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f494917%2fview-excel-files-in-linux-command-line-without-installing-any-packages%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay