Saturday, April 27, 2024
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 81195  / 3 Years ago, sat, june 26, 2021, 6:28:39

As I'm trying to open a word document from the terminal, i used wvWare and some other commands for the same, but i couldn't get it.
Could any one please help me out!


More From » command-line

 Answers
4

You can open it with help of libre-office-writer by following command (open with libre office writer):



lowriter "<path/to/file>"


From man libreoffice:




Name
libreoffice - LibreOffice office suite

SYNOPSIS
libreoffice [--accept=accept-string] [--base] [--calc] [--convert-to output_file_extension[:output_filter_name] [--outdir
output_dir] file]... [--display display] [--draw] [--global] [--headless] [--help|-h|-?] [--impress] [--invisible]
[--infilter=""] [--math] [--minimized] [-n file]... [--nodefault] [--nolockcheck] [--nologo] [--norestore] [-o
file]... [-p file...] [--print-to-file [--printer-name printer_name] [--outdir output_dir] file]... [--pt printername
file...] [--show Impress file]... [--unaccept=accept-string] [--terminate_after_init] [--view file]... [--web]
[--writer] [file...]
lobase
localc
lodraw
lofromtemplate
loimpress
lomath
loweb
lowriter

DESCRIPTION
LibreOffice (LO for short) is a multi-platform office productivity suite.

[#23884] Sunday, June 27, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
humbire

Total Points: 55
Total Questions: 93
Total Answers: 113

Location: Oman
Member since Fri, Dec 23, 2022
1 Year ago
humbire questions
Thu, May 13, 21, 02:28, 3 Years ago
Sun, Oct 24, 21, 14:23, 3 Years ago
Wed, May 17, 23, 22:16, 1 Year ago
;