[Github projects]
模擬 Monkey Test:
https://github.com/marmelab/gremlins.js
[Ubuntu]
$ lsb-release -a //Check Ubuntu Version Command
$ dpkg --get-selections //Show the list of installed packages in Ubuntu
$ dpkg --get-selections | grep php
$ dpkg -L php5-gd //find the locations
$ sudo apt-get remove php //remove
$ sudo apt-get --purge remove php //remove all files included config
$ ssh -l USERNAME_HERE -i .ssh/yourkey.pem public-ec2-host
$ sudo apt-get remove --purge $(dpkg -l apache* | grep ii | awk '{print $2}') # remove apache related packages
Ubuntu source.list generator: http://repogen.simplylinux.ch/
想對某資料夾底下的所有檔案搜尋 patttern
範圍包括子資料夾的話
可以使用: grep -r pattern dir