McAfee MEJCAE-AM-DA Product Guide - Page 17

E-Business Server command syntax, Entering long options on the command line

Page 17 highlights

Getting Started E-Business Server command syntax The following information appears: McAfee E-Business Server Version #.# (c) 1991-2001 McAfee, Inc. All Rights Reserved. Product Name: McAfee E-Business Server Product Mode: Full Version : #.# Full Version: #.#.# Build Stage : Release Build Number: # Debug Info : Not present E-Business Server command syntax In versions of E-Business Server prior to 7.1.0, E-Business Server command-line options were typically one or two letters (for example, -kg was used for key generation). This older format is now known as legacy mode. In current versions of E-Business Server, the command-line options are longer and more descriptive of the operation (for example, --key-gen is used for key generation). These newer options are known as long options. You cannot use the long options and the legacy options interchangeably. To specify the command-line format you want to use, set the CMDLINE-FORMAT parameter in the E-Business Server configuration file: cmdline-format = The default format is long. Entering long options on the command line If E-Business Server is set to work in the long format, the default format, then you use E-Business Server by typing ebs followed by arguments that start with two dashes (--): ebs -- For example, to create a new key pair, you would enter the following on the command line: ebs --key-gen Entering legacy options on the command line If E-Business Server is set to work in legacy mode, then you use E-Business Server by typing ebs followed by one dash (-) and then enter the options/parameters you need to perform the operation. ebs - For example, to create a new key pair, you would enter the following on the command line: ebs -kg The command parser converts the legacy options you enter on the command line to the current long options for the operation before passing them on for processing. E-Business Server displays the long-option equivalent of all legacy commands when INFO=Verbose in the E-Business Server configuration file (the same as VERBOSE=2 in legacy mode). For more information on setting the INFO parameter, see INFO on page 98. Single dash options are allowed in long mode if an alias (shortcut) exists that maps it to a long option. This allows you to set the legacy options that you've become accustomed to as aliases for the equivalent long options. Aliases are set in the E-Business Server configuration file using the ALIAS parameter. For example, you might set -kg as an alias for the key generation long option as shown below: ALIAS -kg --key-gen 15 E-Business Server™ 8.6 Product Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188

15
E-Business Server
8.6
Product Guide
Getting Started
E-Business Server command syntax
The following information appears:
McAfee E-Business Server Version #.#
(c) 1991-2001 McAfee, Inc. All Rights Reserved.
Product Name: McAfee E-Business Server
Product Mode: Full
Version
: #.#
Full Version: #.#.#
Build Stage : Release
Build Number: #
Debug Info
: Not present
E-Business Server command syntax
In versions of E-Business Server prior to 7.1.0, E-Business Server command-line options were typically one
or two letters (for example,
-kg
was used for key generation). This older format is now known as
legacy
mode
. In current versions of E-Business Server, the command-line options are longer and more descriptive
of the operation (for example,
--key-gen
is used for key generation). These newer options are known as
long
options.
You cannot use the long options and the legacy options interchangeably. To specify the command-line format
you want to use, set the
CMDLINE-FORMAT
parameter in the E-Business Server configuration file:
cmdline-format = <legacy | long>
The default format is
long
.
Entering long options on the command line
If E-Business Server is set to work in the long format, the default format, then you use E-Business Server
by typing
ebs
followed by arguments that start with two dashes (
--
):
ebs --<long-option>
For example, to create a new key pair, you would enter the following on the command line:
ebs --key-gen
Entering legacy options on the command line
If E-Business Server is set to work in legacy mode, then you use E-Business Server by typing
ebs
followed
by one dash (
-
) and then enter the options/parameters you need to perform the operation.
ebs -<legacy option>
For example, to create a new key pair, you would enter the following on the command line:
ebs -kg
The command parser converts the legacy options you enter on the command line to the current long options
for the operation before passing them on for processing. E-Business Server displays the long-option
equivalent of all legacy commands when
INFO=Verbose
in the E-Business Server configuration file (the same
as
VERBOSE=2
in legacy mode). For more information on setting the
INFO
parameter, see
INFO
on page 98
.
Single dash options are allowed in long mode if an alias (shortcut) exists that maps it to a long option. This
allows you to set the legacy options that you’ve become accustomed to as aliases for the equivalent long
options. Aliases are set in the E-Business Server configuration file using the
ALIAS
parameter.
For example, you might set
-kg
as an alias for the key generation long option as shown below:
ALIAS -kg --key-gen