Table of contents:
A simple standardized bash profile addition with useful modifications for use with eZ Publish.
Example #1, Standardized bash profile
# 2009.07.19 | Initial example idea (very ruff, apologies) # regularly run scripts, cronjobs, and or other commands alias ezpgenerateautoloads.php = "php ./bin/php/ezpgenerateautoloads.php $1"; alias ga = "php ./bin/php/ezpgenerateautoloads.php $1"; alias clearcache.sh = "php ./bin/php/ezcache.php $1"; alias clearcache = "php ./bin/php/ezcache.php $1"; alias ezcache = "php ./bin/php/ezcache.php $1"; alias clr = "php ./bin/php/ezcache.php $1"; # commands alias removesvndirs="find . -name *~ -print0|xargs -0 rm -vrf"; alias cleandirs="find . -name *~ -print0|xargs -0 rm -vrf; find . -name *.svn -print0|xargs -0 rm -vrf; find . -name *.DS* -print0|xargs -0 rm -vrf;" # logs alias tailapache = "tail -n 300 /var/log/apache/error_log $1"; alias tailezp = "tail -n 350 ./var/log/error.log & tail -n 350 ./var/log/storage.log & tail -n 350 ./var/log/warning.log & tail -n 350 ./var/log/notice.log &";
Example #1, Standardized bash profile
Example #2, Standardized tcsh profile
# Example
Example #2, Standardized tcsh profile
Article provided by eZpedia
All text is available under the terms of the GNU Free Documentation License
Powered by eZ Publish Community Project 4.2011
Hosted by Swiss eZ Publish partner YMC