0

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

Pablo Bianchi
  • 15,657

1 Answers1

0

Create an alias

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
Pablo Bianchi
  • 15,657