摘要:
原配置:location / { rewrite ^/(.*).html$ /$1.html?mode=test last; error_page 404 = @nodejs; }修改后:location / {root /path/to/files;index index.html;#try_fi 阅读全文
摘要:
1、查找当前目录下所有以.tar结尾的文件然后移动到指定目录:find . -name “*.tar” -exec mv {}./backup/ ; 注解:find –name 主要用于查找某个文件名字,-exec 、xargs可以用来承接前面的结果,然后将要执行的动作,一般跟find在一起用的很多 阅读全文