PDA

View Full Version : [SOLVED] Command to Open Spreadsheet



Quarkrad
August 13th, 2013, 07:09 AM
I can launch calc from the terminal by typing libreofice --calc. If I have a spreadsheet called test.ods in my ~/Documents/Passwords folder what command would I enter in Terminal to launch it?

DuckHook
August 13th, 2013, 07:21 AM
libreoffice -o ~/Documents/Passwords/test.ods

Quarkrad
August 13th, 2013, 07:24 AM
Many thanks for speedy reply.

DuckHook
August 13th, 2013, 07:36 AM
Insomnia anyways. Glad I could help.

Cheesemill
August 13th, 2013, 10:14 AM
Another method is to use the xdg-open command. This will open a file with it's default application.

xdg-open ~/Documents/Passwords/test.ods