Getting The Contents Of A File; Listing All Files In A Channel; Listing All Config Channels - Red Hat NETWORK 4.1.0 Reference Manual

Hide thumbs Also See for NETWORK 4.1.0:
Table of Contents

Advertisement

206
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
/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
Option
-cCHANNEL, --channel=CHANNEL Get file(s) from this config channel
-tTOPDIR, --topdir=TOPDIR
-rREVISION, --revision=REVISION
-h, --help
Table A-8.
rhncfg-manager get
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
Appendix A. Command Line Config Management Tools
--channel=channel-label
Description
Make all files relative to this string
Get this file revision
Show help message and exit
options
\
rhncfg-manager get
:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents