Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
swenc utility
The swenc
command enables you to switch the character encoding within a Global Shell session.
swenc syntax
The swenc
command has the following syntax:
swenc [-e
encoding
] [-T {on | off}] [-E] [-x] [-c
command
]
The following table describes the swenc
options.
Option |
Description |
---|---|
|
Executes command and exits, reverting the session encoding to its previous state. |
-E |
Lists the valid character encodings. |
|
Changes the character encoding of the current session. |
|
Turns on or off the transcoding of data from the UNIX managed server. (Data from Windows servers does not need to be transcoded.) See Transcoded data in a managed server. |
-x |
Prevents the launching of a sub-shell. |
swenc usage rules
The following usage rules apply to the swenc
utility:
If you specify no options, swenc
displays the character encoding and transcoding mode of the current session.
Unless you specify the -x
option, swenc
starts a new sub-shell, which uses the encoding specified with the -e
option. To leave the sub-shell and revert to the previous encoding, enter exit
.
Changing the encoding with swenc
affects all processes in the current session, including background processes. If you change the encoding while background processes are running, the background processes might encounter errors.
The swenc
command affects only the current Global Shell session. For example, if you run the rosh
command after the swenc
-e
command, the rosh
command does not inherit the encoding that you changed with the swenc
command.
The swenc
command does not change the working directory of the session, unless the working directory contains path names that cannot be represented in the new encoding. In this case, the working directory is the user’s home directory.
If you change the character encoding, make sure that the encoding of the terminal application that hosts the Global Shell and Remote Terminal sessions is set properly. To view or change the terminal client, go to the Terminal and Shell Preferences of the SA Client.
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to hpe_sa_docs@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: