当前位置:网站首页>【无标题】
【无标题】
2022-08-01 10:14:00 【weixin_51808099】
2022年7月24日作业
发布时间:2022-07-24 16:35:38
未提交
假设我们的日志nowcoder.txt里,内容如下:
12-May-2017 10:02:22.789 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:Apache Tomcat/8.5.15
12-May-2017 10:02:22.813 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:May 5 2017 11:03:04 UTC
12-May-2017 10:02:22.813 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:8.5.15.0
12-May-2017 10:02:22.814 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:Windows, OS Version:10
12-May-2017 10:02:22.814 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:x86_64
现在需要你提取出对应的值,输出内容如下:
serverVersion:Apache Tomcat/8.5.15
serverName:8.5.15.0
osName:Windows
osVersion:10
[[email protected] zuoye]# awk 'NR==1,NR==4 {print $6 $7 $8 $9}' shell33 |awk 'NR!=2'|sed 's/,/\n/'`在这里插入代码片`
边栏推荐
- Node's traditional and advanced practices for formatting time (moment)
- 线上问题排查常用命令,总结太全了,建议收藏!!
- Visualization - Superset installation and deployment
- 跨域网络资源文件下载
- Introduction and application of heap memory (including examples)
- 怎么找出电脑隐藏的软件(如何清理电脑隐藏软件)
- rpm and yum
- 【软件架构模式】MVVM模式和MVC模式区别
- 使用ESP32驱动QMA7981读取三轴加速度(带例程)
- CTFshow,命令执行:web33
猜你喜欢
retired paddling

MacOS下postgresql(pgsql)数据库密码为什么不需要填写或可以乱填写

CTFshow,命令执行:web33

rpm and yum

Three chess (C language implementation)

Message queue interview latest finishing (2022)

Android 安全与防护策略

Enterprise WeChat group: robot timing reminder function database configuration

50.【Application of dynamic two-dimensional array】

Mysql index related knowledge review one
随机推荐
What are the common API security flaws?
Custom Types - Enums, Unions
自定义类型——枚举、联合
retired paddling
小程序毕设作品之微信美食菜谱小程序毕业设计成品(1)开发概要
The use of scrapy crawler framework
DBPack SQL Tracing 功能及数据加密功能详解
CTFshow,命令执行:web33
July 31, 2022 -- Take your first steps with C# -- Use C# to create readable code with conventions, spaces, and comments
可视化——Superset安装与部署
WLAN networking experiment of AC and thin AP
experiment....
【钛晨报】国家统计局:7月制造业PMI为49%;玖富旗下理财产品涉嫌欺诈,涉及390亿元;国内航线机票燃油附加费8月5日0时起下调
Mysql index related knowledge review one
开天aPaaS之移动手机号码空号检测【开天aPaaS大作战】
Golang内存分析工具gctrace和pprof实战
Introduction to STM32 development Introduce IIC bus, read and write AT24C02 (EEPROM) (using analog timing)
SkiaSharp's WPF self-painted five-ring bouncing ball (case version)
JWT
Comprehensive experiment BGP