随笔分类 -  linux

摘要:title: svn命令使用手册 date: 2019 08 16 10:09:29 categories: svn tags: 1. 查看版本库下的文件和目录列表 2. 查看当前分支从哪个支线创建而来 3. 查看当前工作副本所在URL 4. 切换分支 5. 新建、删除分支标签 6. 同步代码到最新 阅读全文
posted @ 2019-09-16 16:55 antball 阅读(2809) 评论(0) 推荐(0)
摘要:"Docker Swarm集群部署" 阅读全文
posted @ 2018-09-27 20:42 antball 阅读(66) 评论(0) 推荐(0)
摘要:检查内核版本 uname r 使用shell去运行脚本,两种方法 bash xxx.sh,另外一种就是bash c "cmd string" bash c bash c "cmd string" https://www.jianshu.com/p/198d819d24d1 阅读全文
posted @ 2018-09-27 16:46 antball 阅读(99) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/u014726937/article/details/52768463 阅读全文
posted @ 2018-09-26 10:11 antball 阅读(151) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/antball/p/7727185.html https://blog.csdn.net/zzpzheng/article/details/79437907 阅读全文
posted @ 2018-09-18 17:14 antball 阅读(131) 评论(0) 推荐(0)
摘要:http://codingstandards.iteye.com/blog/833695 tee 将标准输出复制一份 ls al | tee a tmpls.log ls al tmpls.log EOF是END Of File的缩写,表示自定义终止符.既然自定义,那么EOF就不是固定的,可以随意设 阅读全文
posted @ 2018-09-17 17:21 antball 阅读(3184) 评论(0) 推荐(0)
摘要:进入vi的命令 vi filename :打开或新建文件,并将光标置于第一行首 vi +n filename :打开文件,并将光标置于第n行首 vi + filename :打开文件,并将光标置于最后一行首 vi +/pattern filename:打开文件,并将光标置于第一个与pattern匹配 阅读全文
posted @ 2018-04-21 12:00 antball 阅读(172) 评论(0) 推荐(0)
摘要:首先通过 rpm -q 可以查询到rpm包的名字然后 调用 rpm -e 删除特定rpm包如果遇到依赖,无法删除,使用 rpm -e --nodeps 不检查依赖,直接删除rpm包如果恰好有多个包叫同样的名字,使用 rpm -e --allmatches --nodeps 删除所有相同名字的包... 阅读全文
posted @ 2015-12-04 16:56 antball 阅读(284) 评论(0) 推荐(0)
摘要:# chkconfig: 2345 90 10# description: service of redis for start and stop add by tomener PATH=/usr/local/bin:/sbin:/usr/bin:/binREDISPORT=6379EXEC=/u... 阅读全文
posted @ 2015-07-28 15:11 antball 阅读(498) 评论(0) 推荐(0)
摘要:命令行处理步骤:test表达式参数变量: 阅读全文
posted @ 2015-06-16 17:11 antball 阅读(142) 评论(0) 推荐(0)
摘要:http://man.linuxde.net/awk linux 命令大全wk用法:awk'pattern{action}'变量名 含义ARGC 命令行变元个数ARGV 命令行变元数组FILENAME 当前输入文件名FNR 当前文件中的记录号FS 输入域分隔符,默认为一个空格RS 输入记录分隔符N... 阅读全文
posted @ 2015-06-13 17:11 antball 阅读(301) 评论(0) 推荐(0)