I want to automatically:
screen -S Test
cd /home/dapkkins/Servers/Bungee
sh start.sh
^Ad
My sh file to run my server through ssh
I want to automatically:
screen -S Test
cd /home/dapkkins/Servers/Bungee
sh start.sh
^Ad
My sh file to run my server through ssh
Open up a terminal (Ctrl + Alt + T) to edit your ~/.bashrc
and add following
alias startbungee='cd /home/dapkkins/Servers/Bungee && sh ./start.sh '
then execute commands from .bashrc on current shell (more with help source
):
source ~/.bashrc
then launch it using
startbungee