Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am not sure if it possible, but I will try this question

Maybe there are some Linux tools that can translate windows doc.xls format to Linux format?

The target is to transfer xls doc from XP to Linux (5.1 redhat) and read the xls doc from the Linux by the usual linux command as more/cat

share|improve this question

migrated from Nov 23 '11 at 18:24

This question came from our site for system and network administrators.

OpenOffice has a headless operation mode that listens to a specified port for converts. This is a good way to handle documents if you don't have access to say, Micros*ft Excel.

/opt/openoffice.org2.4/program/soffice.bin -headless accept=socket,host=myhost,port=8100,tcpNoDelay=1;urp;

You might want to check OpenOffice's documentation for usage.

Also, found this nifty tool, xls2csv

share|improve this answer

The proper phrase would be "to convert xls file into plain text" so that it can be read by using cat, less etc.

The best you can do is, save the xls document into csv format from File -> Save As.

This csv file contains comma separated columns from the xls document. This file can be read by using linux text utilities.

share|improve this answer

Perl has a module Spreadsheet::ParseExcel. You can extract data and more from xls-files. A little example script is here:

share|improve this answer

You must log in to answer this question.