glibc/remote.sh

9 lines
93 B
Bash
Executable File

#!/bin/bash
# set -x
# echo $@
WDIR=$(realpath .)
shift
rsh $REMOTE_HOSTNAME "cd $WDIR;$@"