| NEXSH(1) | NEX Commands | NEXSH(1) |
NAME
nexsh - bash with the NEX layer: execution on the nodes, current node, graphics
SYNOPSIS
nexsh
nexsh -c COMMANDS
nexsh SCRIPT [ARG...]
nexsh -h | --help
DESCRIPTION
nexsh is bash(1) with a few extra commands that make the cluster a single computer. Everything that works in bash works in nexsh. -h and --help print a short help and exit.
- on NODE|any COMMAND
- runs the command on another node (or on the least loaded one) in the current directory, with terminal, signals and graphics as if it were local (nex run).
- cn NODE
- moves the whole shell to another node (the current node, like the current directory); cn without arguments goes back to the starting node, cn - to the previous one, cn any to the least loaded one.
- nodes
- status of the nodes.
- nexsh status, nexsh auto on|off
- status of the NEX layer and of the commands that are run remotely automatically.
- passwd
- for a cluster user becomes nex passwd (the password is valid on all nodes).
FILES
- /etc/nex/nexsh.conf
- the commands that run on the least loaded node: lines remote COMMAND... and local COMMAND... (# starts a comment).
- ~/.nexsh.conf
- the same format, for one user: adds commands or, with local, removes the ones listed in /etc/nex/nexsh.conf.
- /usr/share/nex/nexsh.bashrc
- the NEX layer loaded by bash.
SEE ALSO
nex(1), bash(1), /usr/share/doc/nex-cluster/en/nexsh.md
| October 2026 | nexsh 1.2.0 |