How long screen command runs?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How long screen command runs?
# 1  
Old 06-12-2010
How long screen command runs?

Does screen command run forever?

Suppose I have following command inserted at my putty shell followed by screen

Code:
# screen
# export JAVA_HOME=/usr/java/jdk1.6.0_21
# export ANT_HOME=/usr/ant
# export PATH=$PATH:$JAVA_HOME/bin:$ANT_HOME/bin
# export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
# cd /opt/red5/dist
# ./red5.sh > start.log &

If I input this commands followed by screen , will be paths and home paths saved and RED5 process will run forever?



[/code]
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Where can I find the program that runs the -wc command?

Hey guys, I was wondering. When I enter a command in the terminal -wcl for a word count, where is that program located in the kernel? (7 Replies)
Discussion started by: Circuits
7 Replies

2. Shell Programming and Scripting

Script runs in command-line fine but times out in CRON?

Hi, I have a script that seems to run to completion when in the command-line, but when it is run using the cron, it seems to time out. They both start and run fine, but on the CRON it stops prematurely. The script hits an API every few seconds and grabs data. Does anyone have any idea on... (4 Replies)
Discussion started by: phpchick
4 Replies

3. Shell Programming and Scripting

Script runs but does not execute rm -rf command

Hi! First off I'm no bin/bash script writer! :( I can make heads and tales of it from the php experience I have and that's all. Now I managed to piece this script together to go look at directory and remove files that are +60 days. It's finding the files but its not removing them. I... (11 Replies)
Discussion started by: MrBiggz
11 Replies

4. Shell Programming and Scripting

How to return a message after command runs?

I have a script like this: echo "enter filername in lowercase" read -e filername exec 2>&1 echo "type the start date in format MM/DD/YYYY" read -e startdate exec 2>&1 echo "enter the end date in format MM/DD/YYYY" ... (2 Replies)
Discussion started by: newbie2010
2 Replies

5. Red Hat

command line tool to disable screen lock and/or screen saver

Hi, I have a simple question : how to disable screen lock and/or sreen saver with command line with RHEL5.4 ? (1 Reply)
Discussion started by: albator1932
1 Replies

6. Shell Programming and Scripting

awk command in script gives error while same awk command at prompt runs fine: Why?

Hello all, Here is what my bash script does: sums number columns, saves the tot in new column, outputs if tot >= threshold val: > cat getnon0file.sh #!/bin/bash this="getnon0file.sh" USAGE=$this" InFile="xyz.38" Min="0.05" # awk '{sum=0; for(n=2; n<=NF; n++){sum+=$n};... (4 Replies)
Discussion started by: catalys
4 Replies

7. Shell Programming and Scripting

Finding out how long a script runs for and exit reason.

I am running a daemon program that sends texts via a connected mobile phone. I run this daemon via CLI, and it loops a few commands (checking to see if there are any new texts). It runs perfectly, the problem is, when I leave this to run on my Ubuntu Desktop, and come back to it hours later it... (2 Replies)
Discussion started by: daydreamer
2 Replies

8. Shell Programming and Scripting

How would you return how long a script runs for?

When running a ksh script, how would you time how long it took the script ran for? Is there a command that can capture this? (1 Reply)
Discussion started by: Jazmania
1 Replies

9. Shell Programming and Scripting

command runs, no output

I have a script that searches for specific information from log files. #!/bin/sh sed -n '/*C/,/END/p' /sn/log/OMlog* > crit.out sed -n '/REPT INITIALIZATION/,/err:/p' /sn/log/OMlog* > switchcc.out ./start.awk /sn/log/OMlog* > ARs.out ./end.awk /sn/log/OMlog* > ARe.out cat crit.out... (1 Reply)
Discussion started by: grinds
1 Replies
Login or Register to Ask a Question
BlackPixelOfScreen(3X11)					     MIT X11R4						  BlackPixelOfScreen(3X11)

Name
       BlackPixelOfScreen, WhitePixelOfScreen, CellsOfScreen, DefaultColormapOfScreen, DefaultDepthOfScreen, DefaultGCOfScreen, DefaultVisualOf-
       Screen, DoesBackingStore, DoesSaveUnders, DisplayOfScreen, XScreenNumberOfScreen, EventMaskOfScreen, HeightOfScreen, HeightMMOfScreen, Max-
       CmapsOfScreen, MinCmapsOfScreen, PlanesOfScreen, RootWindowOfScreen, WidthOfScreen, WidthMMOfScreen - screen information functions and
       macros

Syntax
       BlackPixelOfScreen(screen)

       WhitePixelOfScreen(screen)

       CellsOfScreen(screen)

       DefaultColormapOfScreen(screen)

       DefaultDepthOfScreen(screen)

       DefaultGCOfScreen(screen)

       DefaultVisualOfScreen(screen)

       DoesBackingStore(screen)

       DoesSaveUnders(screen)

       DisplayOfScreen(screen)

       int XScreenNumberOfScreen(screen)
	  Screen *screen;

       EventMaskOfScreen(screen)

       HeightOfScreen(screen)

       HeightMMOfScreen(screen)

       MaxCmapsOfScreen(screen)

       MinCmapsOfScreen(screen)

       PlanesOfScreen(screen)

       RootWindowOfScreen(screen)

       WidthOfScreen(screen)

       WidthMMOfScreen(screen)

Arguments
       screen	 Specifies a pointer to the appropriate structure.

Description
       The macro returns the black pixel value of the specified screen.

       The macro returns the white pixel value of the specified screen.

       The macro returns the number of colormap cells in the default colormap of the specified screen.

       The macro returns the default colormap of the specified screen.

       The macro returns the default depth of the root window of the specified screen.

       The macro returns the default GC of the specified screen, which has the same depth as the root window of the screen.

       The macro returns the default visual of the specified screen.

       The macro returns or which indicate whether the screen supports backing stores.

       The macro returns a Boolean value indicating whether the screen supports save unders.

       The macro returns the display of the specified screen.

       The function returns the screen index number of the specified screen.

       The macro returns the root event mask of the root window for the specified screen at connection setup.

       The macro returns the height of the specified screen.

       The macro returns the height of the specified screen in millimeters.

       The macro returns the maximum number of installed colormaps supported by the specified screen.

       The macro returns the minimum number of installed colormaps supported by the specified screen.

       The macro returns the number of planes in the root window of the specified screen.

       The macro returns the root window of the specified screen.

       The macro returns the width of the specified screen.

       The macro returns the width of the specified screen in millimeters.

See Also
       AllPlanes(3X11), ImageByteOrder(3X11), IsCursorKey(3X11)
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

															  BlackPixelOfScreen(3X11)