Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > AS/ES/WS v. 4 > Issue <<  26 of 633 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 7114
Last update: 11-17-05
Issue:
Can I use wildcards with the up2date command or search for Red Hat documentation packages for specific languages?
Resolution:

This article assumes that the Red Hat Enterprise Linux system is registered and can access Red Hat Network (RHN). It must also have a working connection to the Internet.

Wildcards can be used to search the list of packages available using up2date but only from Red Hat Enterprise Linux 3 and current versions.

For example, when searching for Red Hat Enterprise Linux Documentation packages for the Spanish language, knowing that the documentation packages typically begin with 'rhel-' and that the language code for Spanish is 'es' , a wildcard search may be done like so:

up2date -i --dry-run rhel-\*-es\*

The option up2date --dry-run will prevent the command from doing anything and simply display what would be done. The characters '\*' are the wildcards. The backslash '\' character is to prevent the character from being interpreted by the shell.

As a second example, assuming one needs to find all the packages that have the string 'mod' in the name:

up2date -i --dry-run \*mod\*


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > AS/ES/WS v. 4 > Issue <<   26  of  633  >>