上一页 1 2 3 4 5 6 ··· 13 下一页
摘要: 1.shell中for循环语法: for L_PROJECT in $(ssh -p xxxx xxx.xxx.xxx gerrit ls-projects); do echo ${L_PROJECT} ssh -p xxxx xxx.xxx.xxx gerrit set-project ${L_P 阅读全文
posted @ 2022-02-26 14:13 爱啦啦 阅读(467) 评论(0) 推荐(0) 编辑
摘要: https://gcc.gnu.org/bugzilla/ 阅读全文
posted @ 2021-11-12 16:51 爱啦啦 阅读(96) 评论(0) 推荐(0) 编辑
摘要: Gerrit 3.x rewrite Since Gerrit 3.x NoteDb replaced the SQL database and all metadata is now stored in Git. The user interface migrated away from GWT 阅读全文
posted @ 2021-08-27 18:17 爱啦啦 阅读(479) 评论(0) 推荐(0) 编辑
摘要: 1.xargs命令可以使用-I选项指定一个替换字符串,xargs会用读取到的参数替换掉这个替换字符串。 :~/work/test$ ls *.txt | xargs -I{} cp {} /tmp/ :~/work/test$ ls *.txt | xargs -I{} ls {} 1.txt 2. 阅读全文
posted @ 2021-08-25 20:11 爱啦啦 阅读(487) 评论(0) 推荐(0) 编辑
摘要: 一、echo用法: echo使用说明: echo命令支持-e选项,使用该选项可以让echo命令识别\后面的转义符号含义,常见转义符号如表1-1所示。其中\033或\e后面可以跟终端编码,终端编码可以用于定义终端的字体颜色、背景颜色、定位光标等。 ①使用echo命令编写一个更有趣的脚本文件菜单! #! 阅读全文
posted @ 2021-02-26 16:55 爱啦啦 阅读(951) 评论(0) 推荐(0) 编辑
摘要: 一、数据库DB文件的备份: ①Postgresql数据库导出 ②#快速增量备份数据库文件 #!/bin/bash pg_dump -h localhost -U postgres -p 5433 reviewdb|gzip > "`date +%Y%m%d%H%M%S`".db.gz rsync - 阅读全文
posted @ 2021-02-25 17:00 爱啦啦 阅读(319) 评论(0) 推荐(0) 编辑
摘要: Jenkins REST API https://www.jenkins.io/doc/book/using/remote-access-api/ Jenkins provides machine-consumable remote access API to its functionalities 阅读全文
posted @ 2021-01-08 17:34 爱啦啦 阅读(452) 评论(0) 推荐(0) 编辑
摘要: Linux find 命令用来在指定目录下查找文件。任何位于参数之前的字符串都将被视为欲查找的目录名。如果使用该命令时,不设置任何参数,则 find 命令将在当前目录下查找子目录与文件。并且将查找到的子目录和文件全部进行显示。 语法: find path -option [ -print ] [ - 阅读全文
posted @ 2020-12-09 18:11 爱啦啦 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 方式一 install前加-y sudo apt-get -y install uuid-dev 方式二 yes | sudo ufw enable 阅读全文
posted @ 2020-10-13 19:18 爱啦啦 阅读(850) 评论(0) 推荐(1) 编辑
摘要: 更新Ubuntu镜像源 1.备份镜像源:/etc/apt/sources.list sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup 2.更新镜像源(不更新upgrade特别慢) cat /etc/apt/sources.list 阅读全文
posted @ 2020-07-30 20:52 爱啦啦 阅读(1651) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 13 下一页