Find

Find

Find

 
 

Find With Two Pattern Checks:

find . -maxdepth 5 -type f -name "*.php" \( -exec egrep -sli "base64_decode" {} \; -false -o -exec egrep -i "base64_decode" {} \; \)
    • Related Articles

    • Find Files In Specific Range Linux

      This is useful should you need to copy/search for files modified within a specified time range. The base command will be provided below, which searches from Jan 1st 2012 -> Jun 1st 2012. Modify according to your needs and filter through "cp" for file ...
    • How to find DNS name server settings (Hsphere)

      If you are looking for the proper DNS name servers to point your domain name at, you can locate this information in the Hsphere control panel. 1. Login to hsphere control panel. 2. Go to "Quick Access" on the left hand side menu bar. 3. Under Domain ...
    • change permissions of all Folders and Subfolders (also works for files)

      To set the permissions of all files and subfiles, or folders and subfolders run the following: Folders: find . -type d -exec chmod 0755 {} \;  - Finds all units that are folders and changes permissions to 755 Files: find . -type f -exec chmod 0644 {} ...
    • Enable Multisite for wordpress

      To enable multisite support in wordpress do the following steps:   (1)Go to hsphere user's home directory and find the related folder for wordpress in which wp-config.php file exists. (2)Edit wp-cofnig.php file and at end of file add below mentioned ...
    • Joomla/WordPress/CMS Permissions

      With the way that Hsphere and cPanel work in our shared environments, all CMS permissions should be set as follows: Directories - 755 Files - 644 If permissions have been changed or if you're unsure which permissions are which, you can run the ...