Skip to main content

Linux command: pidof

pidof - find the process ID (PID) of a running program [using its name].

Kill openvpn process

root@T420:~# pidof openvpn
41
root@T420:~# kill -15 $(pidof openvpn)

Popular posts from this blog

Hydra: Notes

Hydra v9.1 (c) 2020 by van Hauser/THC & David Maciejak - Please do not use in military or secret service organizations, or for illegal purposes (this is non-binding, these *** ignore laws and ethics anyway).

Qwiklabs: Notes

Qwiklabs was launched in 2012, and was acquired by Google in November 2016. It is a hands-on lab platform for learning GCP and AWS.