Re: Remove all 3rd party rpms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 30/03/2008, Joseph L. Casale <jcasale@xxxxxxxxxxxxxxxxx> wrote:
>xargs is your friend. :-)

Very nice! So how do I pass just the first string into it? The output is seperated by spaces,,,

awk is also your friend.

<cmd> | awk '{ print $1 }'

Alan.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux