Open up Terminal (Applications ---> Utilities ---> Terminal) and type: dscacheutil -flushcache Then press enter. Then go back to your browser (Safari, Firefox, Chrome or other) and reload the site you're having trouble with. … [Continue reading]
SSH Command to access Linux Server
If you're allowed SSH access to your hosting account the command via programs like Terminal (Mac) or Putty (Windows) is: ssh -l username serverIP Note: replace 'username' with your username and 'serverIP' with the IP address of your host. … [Continue reading]
Where is PHP.INI file in Linux?
Usually the PHP.INI file is located in: /usr/local/lib Note: this is the PHP.INI file for your entire server. Some web hosts will allow the usage of account specific PHP.INI files that can over-ride the servers PHP.INI settings. … [Continue reading]
Delete an entire directory via SSH
Really simple to do, but be careful! There is no going back once you've performed this command. The command: rm -rf YourDirectory Explanation: rm = remove (delete) -r = recursive (all folders, sub folders and files) -f = force (no … [Continue reading]
Welcome

Just getting started, JamesDemetrie.com is going to be a portal for interesting and useful topics. Topics like: Photography, Linux Commands, Geelong Cats and things I've learned. Please check back regularly and enjoy! … [Continue reading]