rsync -avP /home/user/.profile hpux3:/home/user/.profile bash: rsync: command not found 如果我对hpux3机器执行了ssh rsync version 3.1.1 protocol version 31 Copyright (C) 1996-2014 by Andrew Tridgell, Wayne Davison, and others. Web site: http://rsync.samba.org/ output truncated 我已PATH在$HOME/.profile和$HOME/.bashrc。我应该在/etc/profile文件中设置它吗?