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 OGFS scripts on managed servers with rosh
The next sequence of commands create a .BAT script in the OGFS and then run the script on a Windows managed server. Created with echo
statements, the myfile.bat
script resides in the OGFS under /home/jdoe/public/bin
. (Note that myfile.bat
does not reside in the file system of the managed server.) The myfile.bat
script contains three commands: ipconfig
, cd
, and dir
. The rosh
command runs myfile.bat
on the server named abc.opsware.com
as the Administrator
Windows user. The following commands create a local .BAT script and run it remotely with rosh
:
cd /home/jdoe/public/bin
echo ipconfig > myfile.bat
echo "cd c:\temp" >> myfile.bat
echo dir >> myfile.bat
rosh -n abc.opsware.com -l Administrator -s ./myfile.bat
Create a script named who.sh
in the /home/jdoe/public/bin
directory of the OGFS and then run who.sh
on the server named m256.opsware.com
:
cd /home/jdoe/public/bin
echo \#\!\/bin\/sh > who.sh
echo "uname -n" >> who.sh
echo id >> who.sh
echo pwd >> who.sh
rosh -n m256.opsware.com -l root -s ./who.sh
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: