How to read certain words from a line and store them in different variables in bash script?

前端 未结 0 1586
误落风尘
误落风尘 2020-12-17 01:23

I want to read the output from the following command and store certain words from that lines to certain variables:

ps -eaf |grep mongod

Ou

相关标签:
回答
  • 消灭零回复
提交回复
热议问题