How to create .odt file using terminal on Ubuntu 20.04?

I tried the method given at:

If I am using: libreoffice --writer FinalProposal.odt then, I am getting an error shown in this figure.

If I am using touch FinalProposal.odt && libreoffice --writer FinalProposal.odt then, it is working fine and I am able to create new file.

I want to know, what am I doing wrong?

1 Answer

The command you use is for opening a file that already exists. If there is no file with that name, you get the error saying that the file does not exist.

To open libreoffice writer with a new empty text, do libreoffice --writer and give the file name when saving.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like