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 阅读全文
posted @ 2021-11-19 18:28 LeoShi2020 阅读(103) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2021-11-19 13:41 LeoShi2020 阅读(1149) 评论(0) 推荐(0) 编辑
摘要:华为:screen-length 0 temporary 华三:screen-length disable 阅读全文
posted @ 2021-11-19 08:37 LeoShi2020 阅读(210) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2021-11-17 14:35 LeoShi2020 阅读(2593) 评论(1) 推荐(1) 编辑
摘要:1. 报错 2. 问题解决 su - oracle $export DISPLAY=:0.0 END 阅读全文
posted @ 2021-11-17 08:10 LeoShi2020 阅读(208) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2021-11-12 14:38 LeoShi2020 阅读(46) 评论(0) 推荐(0) 编辑
摘要:1. 查看ARP 老化时间 >dis arp timer aging Current ARP aging time is 86400 seconds 2. 配置ARP老化时间60秒 # arp timer aging 60 END 阅读全文
posted @ 2021-11-09 10:29 LeoShi2020 阅读(1416) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示