Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Getting Started with Content Gateway > Using the command-line interface
Using the command-line interface
Help | Content Gateway | v8.4.x
The command-line interface provides a quick way to view proxy statistics and configure Content Gateway if you do not have access to a browser or if you prefer to use a UNIX shell-like command interface.
 
Note 
You can execute individual commands or script multiple commands in a shell. See Content Gateway commands.
1.
su
2.
Change to the Content Gateway bin directory (/opt/WCG/bin). Run Content Gateway commands from this directory.
*
content_line -<command_argument>
*
content_line -r <var>
Here, <var> is the variable associated with the configuration option (for a list of the variables, refer to Configuration variables).
*
content_line -s <var> -v <value>
Here, <var> is the variable associated with the configuration option and <value> is the value you want to use.
3.
For a list of content_line commands, enter:
content_line -h
 
Note 
If the Content Gateway bin directory is not in your path, prepend the command with "./".

Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Getting Started with Content Gateway > Using the command-line interface
Copyright 2017 Forcepoint. All rights reserved.