序言
总结汇总Linux实用技巧,提升效率
通过管道多次过滤得到想要的结果
1 | netstat -anptl | grep tcp | grep LISTEN |
/tmp文件是linux运行时产生的缓存文件,用于加速二次打开文件的速度。
1 | (清除/tmp下三小时以内没有使用的文件,并将结果输出)。 |
注意用法
1 | 动态显示机器各端口的链接情况 |
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true