11 2017 档案
摘要:If you're storing anything in MySQL databases that you do not want to lose, it is very important to make regular backups of your data to protect it fr
阅读全文
摘要:一、LINUX(UBUNTU/CENTOS)用户添加删除修改 1、建用户: [plain] view plain copy adduser web //新建web用户 useradd web -m #添加web 用户 passwd web //给web用户设置密码 useradd web -g ad
阅读全文
摘要:在linux shell中不显示路径了,显示为-bash-4.1#用起来很不方便。 在linux shell中不显示路径了,显示为-bash-4.1#用起来很不方便。 如何改为显示路径的shell呢? 步骤如下: vim ~/.bash_profile (不用管.bash_profile这个文件有几
阅读全文
摘要:curl -0 'http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest' | grep ipv4 | grep CN | awk -F\| '{ printf("%s/%d\n", $4, 32-log($5)/log(2)) }
阅读全文
摘要:Here's quick way to remove all entries in the host file:In an OSX terminal, type rm -f ~/.ssh/known_hosts
阅读全文