Pages

Friday, February 28, 2014

look some php code by some keywords

$ locate *\\.php|xargs grep --color=always -i -5 "namespace\s.*\W"|less

Another way to view some code by keyword and basic regular expression




commandlinefu.com


by David Winterbottom (codeinthehole.com)






from All commands http://ift.tt/1dIBM1u

No comments:

Post a Comment