Show Table of Contents
4.3.3. Differentiating between Latest Configuration Files
To view the differences between the configuration files on disk and the latest revisions in a channel, issue the command:
rhncfg-manager diff --channel=channel-label --dest-file=/path/to/file.txt \ /local/path/to/file
You should see output resembling:
--- /tmp/dest_path/example-config.txt config_channel: example-channel revision: 1 +++ /home/test/blah/hello_world.txt 2003-12-14 19:08:59.000000000 -0500 @@ -1 +1 @@ -foo +hello, world
The following table lists the options available for
rhncfg-manager diff:
Table 4.5. rhncfg-manager diff options
| Option | Description |
|---|---|
| -c CHANNEL, --channel=CHANNEL | Get file(s) from this config channel |
| -r REVISION, --revision=REVISION | Use this revision |
| -d DEST_FILE, --dest-file=DEST_FILE | Upload the file as this path |
| -t TOPDIR, --topdir=TOPDIR | Make all files relative to this string |
| -h, --help | Show help message and exit |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.