0
votes
1answer
20 views

Unable to send command to newly created screen?

screen -dmS SIEGE_01 sleep 1 screen -S SIEGE_01 -X stuff "cd /home/ss12036/ImpulseNetwork/Servers/SIEGE_01/"`echo -ne '\015'` sleep 1 screen -S SIEGE_01 -X stuff "sh Start.sh"`echo -ne '\015'` ...
0
votes
1answer
60 views

Discerning which GNU screen window is being used in a shell script

Using a shell script, how can you tell if a screen is running using shell scripts? For example, using pseudocode: IF (screen.screenname.running == TRUE) or something like that.
0
votes
3answers
203 views

How to get screen command to indicate what screen you're looking at for ubuntu servers?

When I use the screen command in red hat it lists what screen I'm looking at in putty However when I use the screen command in ubuntu 10.04 it doesn't list what screen I'm looking at in putty. Is ...
0
votes
2answers
130 views

Creating a backup script involving screens and java?

Hi guys I use centOS 64bit 5.7 and I need to create a backup script What I want it to do: screen -r example command into java pause for x amount of seconds exit screen zip/rar a folder which and ...
3
votes
1answer
88 views

customizing terminal ssh shell [closed]

The other day I saw someone connected to an ssh shell with status bars on the bottom (Mac OS X Terminal) of the terminal. It has things such as upload rate, memory usage, time, current username, and ...
0
votes
1answer
144 views

Ubuntu using screen to control a Java server

I have a shell script that makes a backup of my server files before starting it. However I wish it to instead of just running it open a new screen session and then start it from there. Once its ...