码迷,mamicode.com
首页 >  
搜索关键字:shell awk cat    ( 54363个结果)
shell sed 多行执行多个命令
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
Ubuntu18开机执行shell命令
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
linux常用命令
1.linux常用命令 1.1 系统命令 runlevel # 查看当前的运行级别systemctl status sshd # 开启网络服务功能 stop # 关闭 restart # 重启 reload # 重载reboot # 重启halt # 关机poweroff # 关机 1.2 查看文件 ...
分类:系统相关   时间:2020-12-01 11:56:19    阅读次数:30
ELK集群搭建(2)
ELK集群配置安装初始化iptables关闭selinux关闭配置hosts解析[root@localhostelasticsearch]#cat/etc/hosts127.0.0.1localhostlocalhost.localdomainlocalhost4localhost4.localdomain4::1localhostlocalhost.localdomainlocalhost6lo
分类:其他好文   时间:2020-12-01 11:46:16    阅读次数:2
Linux 平台 KingBase ES V8 单实例 安装手册 详细截图版
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
shell 循环打印出文件所有行
code macname@localhost Desktop % cat test.sh while read line;do echo $line; done < a.txt macname@localhost Desktop % macname@localhost Desktop % cat a ...
分类:系统相关   时间:2020-11-30 16:14:46    阅读次数:16
shell 查看本机的Linux版本和内核信息
code macname@localhost Desktop % echo `uname -a` Darwin localhost 19.6.0 Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141 ...
分类:系统相关   时间:2020-11-30 16:12:29    阅读次数:12
Nginx日志分析- AWK命令快速分析日志【访问最多请求最多的ip、最频繁、恶意访问】
Nginx日志常用分析命令示范(注:日志的格式不同,awk取的项不同。下面命令针对上面日志格式执行) 1)总请求数 wc -l access.log |awk '{print $1}' 2)独立IP数 awk '{print $1}' access.log|sort |uniq |wc -l 3)每 ...
分类:其他好文   时间:2020-11-30 16:08:07    阅读次数:8
tensorflow2.0——各批次loss、acc及可视化
一、loss、acc提取 有时候我们需要查看每个batch训练时候的损失loss与准确率acc,这样可以帮助我们挑选合适的epoch以及查看模型是否收敛。 Model.fit()在调用时会返回一个History类,这个类的一个属性Historty.history是一个字典,里面就包含了每一个batc ...
分类:其他好文   时间:2020-11-30 16:04:44    阅读次数:7
shell脚本基本命令1
在写shell命令之前,首先要知道为什么要使用Shell脚本。使用Shell脚本能够轻易处理文件和目录之类的对象,相对于其他编程语言,Shell脚本执行起来更快,而且他也是个UNIX系统之间通用的功能,下面就让我们看一下Shell脚本的一些简单的命令。 以下如果是命令用$表示,在输入的时候不需要加, ...
分类:系统相关   时间:2020-11-30 15:57:34    阅读次数:12
共54363条   上一页 1 ... 85 86 87 88 89 ... 5437 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!