Carletto
asked on
Linux bash command help
Hello ,
I know this is a simple question but I have the following command that gives 2 output lines.
The only valid is the first one Repo-id : rhel-x86_64-server-7 how can I write the command in order to exclude Repo-id : rhn-tools-rhel-x86_64-serv er-7
thank you
C
I know this is a simple question but I have the following command that gives 2 output lines.
[root@machine ~]# yum repolist -v | grep Repo-id | grep rhel-x86_64-server-7
Repo-id : rhel-x86_64-server-7
Repo-id : rhn-tools-rhel-x86_64-server-7
The only valid is the first one Repo-id : rhel-x86_64-server-7 how can I write the command in order to exclude Repo-id : rhn-tools-rhel-x86_64-serv
thank you
C
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Carlo