194
Appendix A. Command Line Config Management Tools
A.3.6. Getting the Contents of a File
To direct the contents of a particular file to stdout, issue the command:
rhncfg-manager get
--channel=
channel-label
\
/tmp/dest_path/example-config.txt
You should see the contents of the file as output.
A.3.7. Listing All Files in a Channel
To list all the files in a channel, issue the command:
rhncfg-manager list
channel-label
You should see output resembling:
Files in config channel ‘example-channel3’:
/tmp/dest_path/example-config.txt
The following table lists the options available for
rhncfg-manager get
:
Option
Description
-cCHANNEL, --channel=CHANNEL Get file(s) from this config channel
-tTOPDIR, --topdir=TOPDIR
Make all files relative to this string
-rREVISION, --revision=REVISION Get this file revision
-h, --help
Show help message and exit
Table A-8.
rhncfg-manager get
options
A.3.8. Listing All Config Channels
To list all of your organization’s configuration channels, issue the command:
rhncfg-manager list-channels
The output resembles the following:
Available config channels:
example-channel
Summary of Contents for NETWORK 4.0 -
Page 1: ...Red Hat Network 4 0 Reference Guide...
Page 10: ......
Page 16: ...vi Introduction to the Guide...
Page 24: ...8 Chapter 1 Red Hat Network Overview...
Page 40: ...24 Chapter 2 Red Hat Update Agent Figure 2 11 Available Package Updates...
Page 58: ...42 Chapter 2 Red Hat Update Agent...
Page 80: ...64 Chapter 5 Red Hat Network Registration Client Figure 5 15 Text Mode Welcome Screen...
Page 186: ...170 Chapter 7 Monitoring...
Page 200: ...184 Chapter 8 UNIX Support Guide...
Page 214: ...198 Appendix A Command Line Config Management Tools...
Page 274: ...258 Appendix C Probes...
Page 282: ...266 Glossary...