I am a new user of precise pangolin and learning to use the terminal. I just wonder whether there is any easy command/combination of commands to open an application (LibreOffice Writer, for example) via terminal, just like we use sudo apt-get install <<packagename>>
to install an application.
2 Answers
You can just type the the name of the application you want to start. In your case it would be libreoffice
or if you want to go to writer directly you can type libreoffice --writer
-
Alternatively, you can also run it directly with something like
/opt/libreoffice4.4/program/soffice
as seen here– CadoizSep 21, 2022 at 6:17
If you do not want the application tied to a controlling terminal you can type the application name followed by & disown
.
In @Germar's example the full command would read libreoffice & disown
. This would enable you to close the terminal you launched from, and continue using libreoffice.
-
Welcome to AskUbuntu! You can close the terminal if only using
&
(at least on my 12.04). To see about&
,disown
andnohup
, check unix.stackexchange.com/q/3886. See also askubuntu.com/q/264257/58950 and askubuntu.com/q/106351/58950. Jan 15, 2016 at 22:20