docker 基本命令 今天介绍一些docker基本命令,自己最近在学习。docker安装就不介绍了,接下来介绍一些docker常用命令 查看镜像 查看本地所有镜像sudo docker images -a如果查看镜像idsudo docker images -aq查看摘要信息sudo docker ...
分类:
其他好文 时间:
2020-07-02 16:51:35
阅读次数:
66
1.终端操作 1.1终端快捷键 需要注意,alt会跟别的快捷键冲突 control + L # 清屏 control + s # 锁定屏幕 ! control + q # 解锁 ! control + c # 终止命令 control + a # 移动 cursor 到行首 control + e ...
分类:
其他好文 时间:
2020-07-02 16:30:06
阅读次数:
44
http://www.zsythink.net/archives/1199 关于 留言板 友情链接 主页 Linux基础 运维技术 数据库 编程 首页运维技术IPtablesLinux基础Linux基础基础知识Linux基础常用命令正文 iptables详解(1):iptables概念 234 A+ ...
分类:
其他好文 时间:
2020-07-02 16:07:57
阅读次数:
87
日志文件说明:/var/log/message 系统启动后的信息和错误日志,是Red Hat Linux中最常用的日志之一/var/log/secure 与安全相关的日志信息/var/log/maillog 与邮件相关的日志信息/var/log/cron 与定时任务相关的日志信息/var/log/s ...
分类:
系统相关 时间:
2020-07-02 16:05:09
阅读次数:
56
1.systemctl start docker 启动docker容器 2.docker images 查看docker中的镜像 3.doker ps -a查看所有进程 4.docker stop [CONTAINER ID] 停止容器 5.docker rm [CONTAINER ID] 删除容器 ...
分类:
其他好文 时间:
2020-07-02 14:52:26
阅读次数:
59
命令格式 注意:下文中的 <command>在使用时请用真实命令代替,如 ls, rm <command>[-option] [parameter] []表示可选,要用空格隔开各个参数 [-option] 中有的命令分为短版本和长版本,如 -a 和 --all 几个短命令可以组合,大多数时候不分顺序 ...
分类:
系统相关 时间:
2020-07-02 09:20:27
阅读次数:
61
检出 svn co http://路径(目录或文件的全路径) [本地目录全路径] --username 用户名 --password 密码 svn co svn://路径(目录或文件的全路径) [本地目录全路径] --username 用户名 --password 密码 svn checkout h ...
分类:
系统相关 时间:
2020-07-01 22:16:33
阅读次数:
75
git config --list List all the settings git can find at /etc/gitconfig, ~/.gitconfig, ~/.config/git/config or .git/config. git config --system --list ...
分类:
其他好文 时间:
2020-06-30 16:03:38
阅读次数:
57
一、查看自动任务进程 方法1: top ##查看所有任务,但是只能根据command为python层级确认当前自动任务有哪些 kill PID; #kill某自动任务 方法2: ps aux | grep python ##查看当前正在运行的自动任务,可以根据command为python名字确认当前 ...
分类:
编程语言 时间:
2020-06-29 18:42:52
阅读次数:
67
https://www.cnblogs.com/cute/archive/2011/08/26/2154137.html 1、判断字符串为空 if [ -z "$str" ]; then echo "empty string" fi 2、判断文件是否存在 if [ -f /home/builder/ ...
分类:
系统相关 时间:
2020-06-29 13:44:40
阅读次数:
107