Working with Network Shell
Using the Network Shell (NSH) commands, you can manage your network of UNIX and Windows machines as one large host. You can perform system administrative functions on multiple remote hosts from a single machine. Instead of having to rlogin or telnet to a host to see what is going is on, or to make a quick change, you can just use the NSH commands to access files on local and remote hosts directly from the command line. You can use the NSH commands to write new scripts, or modify existing scripts and make them distributed.
See Creating and modifying Network Shell Script Jobs for information about Network Shell Script Jobs, which let you deploy and execute a Network Shell (NSH) script that you have previously saved in the Depot.
See the NSH cheat sheet for examples of frequently used NSH commands and script elements that can help you get started with writing NSH scripts.
The following topics are discussed on the current page:
The following topics provide additional information about working with NSH.
- Network Shell requirements and support
- Network Shell commands
- NSH cheat sheet
- How NSH connects with targets
- How to find Windows servers that need a reboot
- Rebooting Servers in a Controlled Manner
- Rebooting servers in a predefined order
- Authenticating with Network Shell
- Running Powershell, VBScript, or bat files via NSH
- Setting up a TTY connection
- Using X11 forwarding to run programs remotely via NSH
- scriptutil: The Slightly Odd Duck
For additional information about NSH scripts (authoring, modifying, adding to the depot, and managing script versions), see the following topics:
- Adding a Network Shell script
- Modifying a Network Shell script
- Content editors and Viewing and editing Network Shell script files using ShellEd
- Walkthrough: Managing versions of NSH scripts using Git
Customizing the NSH prompt
You can customize the NSH command line prompt through an NSHRC file, as described in the following video:
Comments