NEXItaliano

NEX › Manual pages › nexsh(1)

NEXSH(1) NEX Commands NEXSH(1)

nexsh - bash with the NEX layer: execution on the nodes, current node, graphics

nexsh
nexsh -c COMMANDS
nexsh SCRIPT [ARG...]
nexsh -h | --help

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.

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).
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.
status of the nodes.
status of the NEX layer and of the commands that are run remotely automatically.
for a cluster user becomes nex passwd (the password is valid on all nodes).

/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.

nex(1), bash(1), /usr/share/doc/nex-cluster/en/nexsh.md

October 2026 nexsh 1.2.0