我想将一个ascii横幅放入/etc/motd
文件中,但每次尝试时我都会收到错误,
test.sh: line 3: S: command not found
test.sh: line 3: S: command not found
test.sh: line 4: S: command not found
test.sh: line 4: S: command not found
test.sh: line 4: S: command not found
test.sh: line 4: S: command not found
我试图使用以下脚本;
#!/usr/bin/env bash
sudo cat > /etc/motd << EOF
sdSS_SSSSSSbs sSSs sSSs sdSS_SSSSSSbs
YSSS~S%SSSSSP d%%SP d%%SP YSSS~S%SSSSSP
S%S d%S' d%S' S%S
S%S S%S S%| S%S
S&S S&S S&S S&S
S&S S&S_Ss Y&Ss S&S
S&S S&S~SP `S&&S S&S
S&S S&S `S*S S&S
S*S S*b l*S S*S
S*S S*S. .S*P S*S
S*S SSSbs sSS*S S*S
S*S YSSP YSS' S*S
SP SP
Y Y
EOF
有没有办法逃离整个街区或我走的方向错误