Quantcast
Channel: nixCraft
Viewing all articles
Browse latest Browse all 87

How to remove grep command while grepping using ps commandnixCraft Updated Tutorials/Posts

$
0
0

{Updated} We all use ps | grep foo combo to find and narrow down a running process on Linux and Unix-like systems. However, this results in an annoying problem where the grep command also appears in their own grepping result. Let us see how to exclude or hide grep from ps results.

The post How to remove grep command while grepping using ps command appeared first on nixCraft.

Viewing all articles
Browse latest Browse all 87

Trending Articles