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

VMware Workstation: Backup inventory and preferences

Backup these two files in your profile.

Microsoft Azure Web App Service

Three steps to create a FREE web app on Microsoft Azure using Azure CLI .

tmux - Terminal Muliplexer

tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached.