11 2021 档案
摘要:import time, datetime from datetime import date date1 = "2021-10-1" date2 = "2020-9-15" date1 = time.strptime(date1, "%Y-%m-%d") date2 = time.strptime
阅读全文
摘要:1. 时间判断 while true do sec=`date +%S` sec=$((10#${sec}+0)) if [[ ${sec} -ge 00 ]] && [[ ${sec} -le 30 ]] then echo "00s <= ${sec} <= 30s" sleep 2 else
阅读全文
摘要:华为:screen-length 0 temporary 华三:screen-length disable
阅读全文
摘要:1. 安装依赖 yum install -y gcc make patch gdbm-devel openssl-devel sqlite-devel readline-devel zlib-devel bzip2-devel ncurses-devel libffi-devel xz-devel
阅读全文
摘要:1. 报错 2. 问题解决 su - oracle $export DISPLAY=:0.0 END
阅读全文
摘要:1. sqlplus 上下左右乱码 ^[[A^[[B^[[D^[[C^C 2. 安装rlwrap yum install rlwrap -y 3. 修改配置文件 su - oracle cat >>.bash_profile<<EOF alias sqlplus='rlwrap sqlplus' a
阅读全文
摘要:1. 查看ARP 老化时间 >dis arp timer aging Current ARP aging time is 86400 seconds 2. 配置ARP老化时间60秒 # arp timer aging 60 END
阅读全文