From 5eafb75e126426084119545104c58b4f97c92400 Mon Sep 17 00:00:00 2001 From: xyli Date: Wed, 1 Feb 2023 11:26:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4ssh=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E7=9A=84shell=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/bin/sshExecTemplate.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/main/resources/bin/sshExecTemplate.sh diff --git a/src/main/resources/bin/sshExecTemplate.sh b/src/main/resources/bin/sshExecTemplate.sh new file mode 100644 index 0000000..921c419 --- /dev/null +++ b/src/main/resources/bin/sshExecTemplate.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +# loading env +if [ -f /etc/profile ]; then + . /etc/profile +fi +if [ -f /etc/bashrc ]; then + . /etc/bashrc +fi +if [ -f ~/.bashrc ]; then + . ~/.bashrc +fi +if [ -f ~/.bash_profile ]; then + . ~/.bash_profile +fi + +# start -- Gitee