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

Online Learning: Free to Learn, Learn to Free

Photo Credit:  Gerd Altmann - pixabay.com Just make time to keep learning, practicing, and sharing.

Install the .NET Core Windows Server Hosting bundle

Remember to schedule in advance, since IIS must be reset after installing .NET Core Windows Server Hosting bundle.

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.