#!/bin/bash
salt=`python test.py`
salt1=`python test1.py`
if [ "$1" = "jumper" ]
then
./dosome.sh $salt
elif [ "$1" = "jumper1" ]
then
./dosome1.sh $salt1
else
./login"$1".sh $salt
fi
总之就是出现了if 后面总会跟个then, 不管是if还是elif,之前忽略了这个问题,再次记录下~
#!/bin/bash
salt=`python test.py`
salt1=`python test1.py`
if [ "$1" = "jumper" ]
then
./dosome.sh $salt
elif [ "$1" = "jumper1" ]
then
./dosome1.sh $salt1
else
./login"$1".sh $salt
fi
总之就是出现了if 后面总会跟个then, 不管是if还是elif,之前忽略了这个问题,再次记录下~
一、幾個基本概念 tty(Teletypewriter) 來源於“電傳打印機”,Linux系統中則是終端設備的統稱,同時也代指操作系統中支持終端設備的tty子系統。 console(控制檯)