6.9. filename

The <filename> and </filename> tags define a filename or path to a file. Since directories are just special files, they are marked with the filename tags as well. For example:

Edit the <filename>/home/smoore/sam.xml</filename> file to make
changes or add comments.

The output:

Edit the /home/smoore/sam.xml file to make changes or add comments.

They are also used to markup an RPM package name. For example:

To use the <application>Keyboard Configuration Tool</application>, the
<filename>system-config-keyboard</filename> RPM package must be installed.

The output:

To use the Keyboard Configuration Tool, the redhat-config-keyboard RPM package must be installed.

[Note]Note

Directory names must end with a forward slash (/) to distinguish them from file names.