Run a Shell Script Auto-matically When Entering/cd a Directory

2014-11-05
阅读 2 分钟
2.7k
I don't know if it is common that you need to run some shell scripts which are used under only some directories, such as, one of your Rails projects.

Split logs automatically every day

2014-11-05
阅读 3 分钟
4.5k
"linuxcommand: logrotate":[链接]42Xlogrotate is designed to ease administration of systems that generate large numbers of log files. Normally, logrotate is run as a daily cron job.