随笔分类 -  linux

linux phantomjs 安装
摘要:linux phantomjs 安装
396
0
0
ubuntu18.04 未发现wifi驱动
摘要:Lenovo RTL8821CE 802.11ac PCIe Wireless Network Adapter sudo apt install linux-headers-$(uname -r) build-essential dkms git clone https://github.com/t
1789
0
0
linux 有趣的命令组合
摘要:find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'
200
0
0
vim .vimrc
摘要:set tabstop=4 set number set cul set cuc hi CursorColumn ctermfg=3 ctermbg=2 function InsertPythonComment() exe 'normal'.1.'G' let line = getline('.') if line =~ '^#!.*$' || line =~ '^...
146
0
0
删除10天前的备份文件
摘要:root@ip-192-0-1-205:/home/ubuntu# cat /root/remove_back.sh #! /bin/bash historyDir=/backupsmongodb/ find $historyDir -maxdepth 1 -type d -mtime +10 -exec rm -rf {} \;
262
0
0
生成日期目录,备份mongodb
摘要:root@ip-192-0-1-205:/home/ubuntu# cat /root/backups_mongo.sh #!/bin/bash DATE=$(date +%Y_%m_%d) PATH=/backupsmongodb/$DATE /bin/mkdir -p $PATH /usr/bin/mongodump --username *** --password *** --out ...
354
0
0
点击右上角即可分享
微信分享提示
深色
回顶
收起