Close libreoffice writer via terminal on Ubuntu

0

What command can I use to close the libreoffice writer via terminal in ubuntu? Thank you.

    
asked by anonymous 09.01.2018 / 17:00

2 answers

2

Try to use the following command

ps aux | grep -i office | awk {'print $2'} | xargs kill -9

Or the shorter version

kill -9 'pgrep -lf soffice.bin | awk {'print $1'}'
    
09.01.2018 / 17:06
-3

Use the following command:

killall /usr/lib/libreoffice/program/soffice.bin

    
09.01.2018 / 17:13