Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to understand the operation of grep

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces you how to understand the operation of grep, the content is very detailed, interested friends can refer to, hope to be helpful to you.

[root@irac01 ~] # ps-ef | grep '2034\ | 2035\ | 2005\ | 2037'

Gdm 2005 1 0 Apr17? 00:00:12 / usr/libexec/gconfd-2

Gdm 2034 1998 0 Apr17? 00:00:17 metacity

Gdm 2035 1998 0 Apr17? 00:01:15 / usr/libexec/gdm-simple-greeter

Gdm 2037 1998 0 Apr17? 00:00:20 gnome-power-manager

Root 2060 985 0 11:07 pts/2 00:00:00 grep 2034\ | 2035\ | 2005\ | 2037

[root@irac01 ~] # ps-ef | grep-E "2034 | 2035 | 2005 | 2037"

Gdm 2005 1 0 Apr17? 00:00:12 / usr/libexec/gconfd-2

Gdm 2034 1998 0 Apr17? 00:00:17 metacity

Gdm 2035 1998 0 Apr17? 00:01:15 / usr/libexec/gdm-simple-greeter

Gdm 2037 1998 0 Apr17? 00:00:20 gnome-power-manager

Root 2062 985 0 11:07 pts/2 00:00:00 grep-E 2034 | 2035 | 2005 | 2037

On how to understand the operation of grep to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report