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

Windows command: icacls

Icacls is a command-line utility that can be used to display or modify discretionary access control lists (DACLs) on specified files, and apply stored DACLs to files in specified directories.

Wireguard VPN: Notes

Notes while trying Wireguard VPN on some of my testbeds.