当前位置:网站首页>【无标题】
【无标题】
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/'`在这里插入代码片`
边栏推荐
- xss漏洞学习
- gc的意义和触发条件
- 50.【Application of dynamic two-dimensional array】
- mysql在cmd的登录及数据库与表的基本操作
- 小程序毕设作品之微信美食菜谱小程序毕业设计成品(1)开发概要
- MacOS下postgresql(pgsql)数据库密码为什么不需要填写或可以乱填写
- CTFshow,命令执行:web34、35、36
- 周鸿祎称微软抄袭 360 安全模式后发文否认;英特尔CEO基辛格回应市值被AMD超越:股价下跌是咎由自取|极客头条
- Pve delete virtual machine "for a collection"
- 50.【动态二维数组的运用】
猜你喜欢

WTM:ASP.NET Core快速开发利器!

C#/VB.NET convert PPT or PPTX to image

还在纠结报表工具的选型么?来看看这个

7. SAP ABAP OData 服务如何支持 $orderby (排序)操作

Android 安全与防护策略

mysql login in cmd and basic operations of database and table

CTFshow,命令执行:web32

基于CAP组件实现补偿事务与消息幂等性

微信公众号授权登录后报redirect_uri参数错误的问题

Endorsed in 2022 years inventory | product base, science and technology, guangzhou automobile group striding forward
随机推荐
rpm and yum
shell脚本------条件测试 if语句和case分支语句
Mini Program Graduation Works WeChat Food Recipes Mini Program Graduation Design Finished Products (3) Background Functions
我是如何保护 70000 ETH 并赢得 600 万漏洞赏金的
Glassmorphism design style
CTO strongly banning the use of the Calendar, that in what?
redis
[Cloud Residency Co-Creation] Huawei Cloud Global Scheduling Technology and Practice of Distributed Technology
7/31 训练日志
July 31, 2022 -- Take your first steps with C# -- Use arrays and foreach statements in C# to store and iterate through sequences of data
Quantify daily work metrics
RK3399平台开发系列讲解(内核入门篇)1.52、printk函数分析 - 其函数调用时候会关闭中断
slice、splice、split傻傻分不清
Basic configuration commands of cisco switches (what is the save command of Huawei switches)
Introduction to STM32 development Introduce IIC bus, read and write AT24C02 (EEPROM) (using analog timing)
小程序毕设作品之微信美食菜谱小程序毕业设计成品(2)小程序功能
玻璃拟态(Glassmorphism)设计风格
如何从完美的智能合约中窃取 1 亿美元
PDMan-domestic free general database modeling tool (minimalist, beautiful)
CTFshow,命令执行:web34、35、36