Category Archives: bash


To run the ftpd: sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist To stop the ftpd: sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist Login credentials are the same as for user login.

Posted in bash, osx | Tagged , | Leave a comment

Static code analysis

After creating the #28855 ticket for WordPress Core I thought about making some BASH scripts to grep this kind of lines. For example: find PROJECT_DIR -iname “*.php” -exec php -l {} \; After some reading and googling I ended up reading Static analysis tools for … Continue reading

Posted in bash, php, wordpress | Tagged | Leave a comment

Finally working bash_completion in GNU screen

I was struggling without bash_completion in GNU screen and the solution was adding the following to .screenrc: defshell -bash Some more info at: My .screenrc # # ~/.screenrc # # Thanks to: # # reading

Posted in bash, screen | Tagged | Leave a comment