Bash check if a program is running or not
You can find process id for a running program with command pidof BINARY_NAME_HERE Example boby@sok-01:~$ pidof gedit 22057 boby@sok-01:~$ ps aux |…
You can find process id for a running program with command pidof BINARY_NAME_HERE Example boby@sok-01:~$ pidof gedit 22057 boby@sok-01:~$ ps aux |…
On a PrestaShop site, i get error message (1/1) ContextErrorException Warning: Declaration of Cart::getPackageShippingCost($id_carrier = NULL, $use_tax = true, ?Country $default_country =…
To generate dhparam.pem, run cd /etc/ssl/ openssl dhparam -out dhparam.pem 4096 To add dhparam in Nginx, add ssl_dhparam /etc/ssl/dhparam.pem; See SSL
Online Code Editor https://hemingwayapp.com https://replit.com/ – Online IDE, Run Programs, Collaborate with others.
Eclipse Che Eclipse Che is an Open Source Online Code editor. https://github.com/eclipse/che/ It supports several programming languages. Based on Visual Code Studio.…
On a CentOS Web Panel (CWP) server, control panel stopped working after installing SSL certficate for hostname. When starting cwpsrv service, i…
On a web server with Newrelic APM installed, graph stopped showing new data. On checking the newrelic log file, i get following…
To check if a folder is empty of not, you can use if [ “$(ls -A /home/boby/1/ )” ] then echo “Files…
On CentOS 7 server, after installing KVM, i connected to server using Virt Manager. During VM creation, i get following error libvirt.libvirtError:…
Install kvm with Install libvirt, this is used to manage KVM virtual machines. Enable libvirtd to start on boot Start libvirtd To…