|
|
2011-08-11
, 12:45
|
|
|
Posts: 92 |
Thanked: 74 times |
Joined on Nov 2008
@ Indonesia
|
#2
|
With grep how can I use multiple "pattern"?
Exemple:
I need all the nokia-maps and rss packages so I use...
dpkg -l | grep nokia-maps
... and ...
dpkg -l | grep rss
Is there a way to do it in a single instruction?
Sorry for my bad english I'm italian
|
|
2011-08-11
, 12:52
|
|
Posts: 178 |
Thanked: 91 times |
Joined on May 2011
@ Mira (Venice) - Italy
|
#3
|
|
|
2011-08-11
, 20:12
|
|
|
Posts: 568 |
Thanked: 969 times |
Joined on Dec 2009
@ Toronto
|
#5
|
dpkg -l | grep -E "driver|wl[0-9][0-9]"
Exemple:
I need all the nokia-maps and rss packages so I use...
dpkg -l | grep nokia-maps
... and ...
dpkg -l | grep rss
Is there a way to do it in a single instruction?
Sorry for my bad english I'm italian