How to run Python scripts with cPanel ?

Run Python scripts with cPanel   cPanel  by-default the Python is located under “/usr/bin/python“. You can check the location by running the following command:                 whereis python Following Methods are Run Python scripts with cPanel 1  Methods : Create the file with extension “.py” to load the Python script!! Now you […]

See More

Exclude a directory or multiple directories using find command

How to exclude a directory or multiple directories using find command? Quick view on >> Find command and switches << Method 1 : Using the option “-prune -o” We can exclude directories by using the help of “path“, “prune“, “o” and “print” switches with find command. See the example: # find ./ -path ./bit/* -prune -o […]

See More

Reset WordPress admin/users password from Linux command line

How to reset WordPress admin/users password from Linux command line? Ans:  * Log into server as root. * Enter to MySQL command prompt. root@grand [~]# mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 932677 Server version: 5.5.42-cll MySQL Community Server (GPL) Copyright (c) 2000, 2015, Oracle and/or its […]

See More