如果使用Bourne或Korn shell,那么可以编辑目标用户帐户的. profile文件,使该用户登录到系统时自动运行db2profile脚本。
If you are using the Bourne or Korn shell, you can edit the.profile file of a target user account so that the db2profile script runs automatically when the user logs in to the system.
我们现在的脚本可以登录到远程服务器并上载所有本地系统中修改过的文件,但是脚本还只是仅仅能处理单一目录。
We have a script that will login to a remote server and upload all files which have changed on the local system, but the script will only do this for a single directory.
所以在第二个脚本配置系统在登录后,运行第三个脚本。
So in the second script configure the system to run the third script once the machine has logged back on.
应用推荐