随笔分类 -  linux(干货)

linux运维整理
摘要:下文中的配置文件:config.txtmkdir -p ~/.trashalias rm=deldel(){ mv $@ ~/.trash/ if [ $? -ne 0 ];then echo -e "\033[31mPlease refer to the error:\033[0m\nmv is 阅读全文
posted @ 2019-07-04 10:45 运维小菜鸟的开发之路 阅读(758) 评论(0) 推荐(0)
摘要:# 在当前目录中,只保留index.html文件,其他都删除。 # ls | grep -v index.html | xargs rm -rf #### @ vim 编辑快捷键 `ctrl + n` 是自动补齐 `ctrl + p` 是往上选择 `ctrl + f` 是下一屏幕 `ctrl + b 阅读全文
posted @ 2018-12-11 09:27 运维小菜鸟的开发之路 阅读(699) 评论(0) 推荐(0)