0
what command can I use to close the libreoffice Writer via terminal in Ubuntu? Thank you.
0
what command can I use to close the libreoffice Writer via terminal in Ubuntu? Thank you.
3
Try using 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'}`
Browser other questions tagged ubuntu libreoffice
You are not signed in. Login or sign up in order to post.
kill -9 <ID-DO-PROCESSO>
. To capture id useps aux | grep libre
. Or usekillall <Nome-do-processo>
– Valdeir Psr
@Valdeirpsr for this command
ps aux | grep libre
that passed me I managed to find the path of libreoffice and used the following commandkillall /usr/lib/libreoffice/program/soffice.bin
to close and it worked, Thank you– Miguel Silva