上一页 1 2 3 4 5 6 ··· 42 下一页
  2021年10月26日
摘要: 1、win+r 输入cmd,回车; 或者 win 搜索,输入cmd,命令提示符,右键 以管理员身份启动; 2、输入命令(强制刷本地组策略): gpupdate/force 或者 gpupdate 阅读全文
posted @ 2021-10-26 17:01 细雨微光 阅读(1459) 评论(0) 推荐(0) 编辑
  2021年8月31日
摘要: crontab 总是被误删,定时备份很重要; 链接:误删加个提醒,或许能避免 备份三天的crontab,自动删除三天前的; crontab 中添加定时:每天1点备份 crontab 0 1 * * * cd /home/username/back_crontab && sh -x back_cron 阅读全文
posted @ 2021-08-31 12:02 细雨微光 阅读(934) 评论(0) 推荐(0) 编辑
摘要: crontab 的命令: -r 和 -e 挨得太近了; 太容易误删了;链接:定时备份才是最重要的 建议先做实验,实验之前一定备份好: crontab -l > crontab.bak 从备份文件恢复crontab: crontab crontab.bak 增加删除提醒步骤: 1、打开 bashrc: 阅读全文
posted @ 2021-08-31 11:46 细雨微光 阅读(245) 评论(0) 推荐(0) 编辑
  2021年8月27日
摘要: 假设: dev是主分支 dev_local 是本地分支 1、创建本地分支: git checkout -b dev_local 或在之前的本地分支上拉取最新数据 git pull origin dev 2、修改dev_local 中的代码后 git add . git commit -m "merg 阅读全文
posted @ 2021-08-27 10:57 细雨微光 阅读(3120) 评论(0) 推荐(0) 编辑
  2021年8月13日
摘要: 查看当前系统语言 登陆linux系统打开操作终端之后,输入 echo $LANG可以查看当前使用的系统语言。 [root@localhost ~]# echo $LANG 查看安装的语言包 查看是否有中文语言包可以在终端输入 locale命令,如有zh cn 表示已经安装了中文语言 [root@lo 阅读全文
posted @ 2021-08-13 16:05 细雨微光 阅读(1752) 评论(0) 推荐(0) 编辑
  2021年7月29日
摘要: 双击outlook 邮件列表,打开单个的邮件后: 查找的快捷键是:F4 阅读全文
posted @ 2021-07-29 19:05 细雨微光 阅读(688) 评论(0) 推荐(0) 编辑
  2021年7月15日
摘要: cpu:shift + p mem:shift + m 阅读全文
posted @ 2021-07-15 20:47 细雨微光 阅读(122) 评论(0) 推荐(0) 编辑
  2021年6月10日
摘要: 说明:+n 大于 n, -n 小于 n, n 相等于 n. find / -amin -30 -ls # 查找在系统中最后30分钟访问的文件find / -atime -2 -ls # 查找在系统中最后48小时访问的文件find / -mmin -10 -ls # 查找在系统中最后10分钟里修改过的 阅读全文
posted @ 2021-06-10 19:01 细雨微光 阅读(249) 评论(0) 推荐(0) 编辑
  2021年3月2日
摘要: 计算文件的创建了多久,距离当前的时间: ans=0s if [ -f ${File} ]; then #如果文件存在 a=`stat -c %Y $File` b=`date +%s` c=$((b-a)) swap_seconds $c #转换为时分秒 fi echo $ans 转换为时分秒:如果 阅读全文
posted @ 2021-03-02 11:18 细雨微光 阅读(1267) 评论(0) 推荐(0) 编辑
  2020年7月20日
摘要: 数组定义法1: arr=(1 2 3 4 5) # 注意是用空格分开,不是逗号!! 数组定义法2: array array[0]="a" array[1]="b" array[2]="c" 获取数组的length(数组中有几个元素): ${#array[@]} 遍历(For循环法): for var 阅读全文
posted @ 2020-07-20 15:54 细雨微光 阅读(223) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 42 下一页