Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
做的时候rhc tail -a myApp,我想过滤掉所有的行:GET / 200
rhc tail -a myApp
GET / 200
我试过了
rhc tail -a myApp | grep -V GET
但这似乎不起作用。
我认为你需要一个小写的 v,大写的 V 似乎是版本,至少在我的 mac 上......
-V, --version Display version information and exit. -v, --invert-match Selected lines are those not matching any of the specified patterns.
您只是将 grep 输出的版本显示到屏幕上吗?