Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 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.

share|improve this question
up vote 6 down vote accepted

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

share|improve this answer

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.

share|improve this answer
    
Welcome to AskUbuntu! You can close the terminal if only using & (at least on my 12.04). To see about &, disown and nohup, check unix.stackexchange.com/q/3886. See also askubuntu.com/q/264257/58950 and askubuntu.com/q/106351/58950. – carnendil Jan 15 at 22:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.