A.3.9. Removing a File from a Channel


To remove a file from a channel, issue the command:
 rhncfg-manager remove --channel=channel-label /tmp/dest_path/example-config.txt
If prompted for your RHN username and password, provide them. You should see output resembling:
Red Hat Network username: rhn-user 
Password:
Removing from config channel example-channel3
/tmp/dest_path/example-config.txt removed 
The following table lists the options available for rhncfg-manager remove:
Table A.9. rhncfg-manager remove options
Option Description
-cCHANNEL, --channel=CHANNEL Remove files from this config channel
-tTOPDIR, --topdir=TOPDIR Make all files relative to this string
-h, --help Show help message and exit
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.