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 |
|
- Global Shell examples
- Opening a Global Shell session
- Finding servers in the OGFS
- Getting server information from the OGFS
- Browsing a server’s file system or registry
- Managing custom attributes
- Copying files within the OGFS
- Copying files between the OGFS and a development server
- Logging on to a managed server with rosh
- Running OGFS scripts on managed servers with rosh
- Running native programs on managed servers with rosh
Running native programs on managed servers with rosh
The next two rosh
commands run the dir
and ipconfig
MSDOS commands on the Windows server named abc.opsware.com
. Note that the native MSDOS commands are enclosed in quotes. Because the server name and user (login) can be inferred from the current working directory, the first rosh
command omits the -n
and -l
options, as shown in the following code:
cd /opsw/Server/@/abc.opsware.com/files/Administrator
rosh "dir & ipconfig"
. . .
cd /home/jdoe
rosh -n abc.opsware.com -l Administrator "dir & ipconfig"
Run the ipconfig
command on abc.opsware.com
and redirect the output to a file in home directory of jdoe
in the OGFS:
rosh -n abc.opsware.com -l Administrator "ipconfig" \
> /home/jdoe/ipconfig_ouptput.txt
On the UNIX server named m256.opsware.com
, run the uname
and ls
commands as root
:
rosh -n m256.opsware.com -l root "uname -a; ls /tmp"
Within a for
loop in bash
, run the MSDOS ipconfig
command on each server in the All Windows device group:
cd /opsw/Group/Public/All\ Windows\ Servers/@/Server
for SERVER_NAME in *
do
echo ............. $SERVER_NAME ............
rosh -n $SERVER_NAME -l Administrator "ipconfig"
echo ""
done
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: