Useful Command Line Scripts

Useful Command Line Scripts

Coding
Below is a list of very common linux commands that any linux person should know by heart. From gzipping files, to running backups this is my personal cheat sheet Compressing Files and Folders Unzip 7z Archive 7za x myfiles.7z gzip File gzip -9 file gzip Folder tar -zcvf archive-name.tar.gz directory-name Uncompress Gzip File gzip -d file.gz Remove Files and Folders Removing a large number of files If you're getting this error: /bin/rm: Argument list too long. Use this command: find . -type f -delete Remove folder from SVN rm -rf `find . -type d -name .svn` Remove ._ files find . -name "._*" -exec rm '{}' \; -print Remove Dreamweaver Notes rm -rf `find . -type d -name _notes` Renaming Multiple Files find . -name "*.jpg" -exec sh -c 'mv…
Read More
Key PHP Developer’s Tools

Key PHP Developer’s Tools

Coding, Guide
Development Tools Netbeans - http://www.netbeans.org Dreamweaver for UI http://www.adobe.com Flux is good too and much cheaper (OSX Only) http://www.theescapers.com/flux/ TextWrangler for just simple text stuff (OSX Only) http://www.barebones.com/products/textwrangler/ or if you're a PC person go with Notepad++ http://notepad-plus-plus.org/ Filezilla FTP for uploading and downloading to servers http://filezilla-project.org Google Chrome's built in developer tools rock http://chrome.google.com or Firefox with Web Developer and Firebug Addons installed Frameworks The most important thing is, use a framework. Not only does it allow you to work faster, but it also gives you access to a community, as well as forces you to use best coding practices. Kohana - http://kohanaframework.org (Unofficial Wiki for Samples) optionally CakePHP is excellent http://www.cakephp.org optionally CodeIgniter is good - http://codeigniter.com as is the Zend Framework - http://framework.zend.com/download/current/ JQuery - http://jquery.com JQuery UI - http://jqueryui.com Key thing with JQuery…
Read More