What command can I use to close the libreoffice writer via terminal in ubuntu? Thank you.
What command can I use to close the libreoffice writer via terminal in ubuntu? Thank you.
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'}'
Use the following command:
killall /usr/lib/libreoffice/program/soffice.bin