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 MoreTag: command
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 MoreOpenVZ commands and its usages
10+ Commonly using OpenVZ commands and its usages 1, Command to list the running VPSs in a node # vzlist Example: # vzlist CTID NPROC STATUS IP_ADDR HOSTNAME 106 104 running xx.xx.xx.xx server1.test.com 107 46 running xx.xx.xx.xx server2.test.com 108 83 running xx.xx.xx.xx server3.test.com 109 86 running xx.xx.xx.xx server4.test.com 2, Command to list running and stopped […]
See More
You must be logged in to post a comment.