In bash script, store dbpath either from reading from output of a command or from another file using if-else condition

后端 未结 0 680
后悔当初
后悔当初 2021-01-13 03:24

Writing a bash script where I need to extract only dbpath from ps -eaf | grep [m]ongod. If dbpath in port 27017 is NOT mentioned in th

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