Sponsored Content
Top Forums Shell Programming and Scripting My script stops after logoff...why?? Post 302755643 by zigizag on Monday 14th of January 2013 02:33:29 AM
Old 01-14-2013
Great!! 10x alot
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

logoff idle user script

Will someone please share a script with me that will read in each line of the who -u output and if idle time is more than 50 min, execute a kill on the PID? This is what I have so far: who -u | cut -c 40-56 I am comfortable in the korn shell, but I can broaden my horizons if you've got... (4 Replies)
Discussion started by: michieka
4 Replies

2. UNIX for Advanced & Expert Users

Running a script during logoff

I know we can put whatever we need to run during login inside /etc/profile or .profile file. I want to run a set of commands before logoff. Where should I put my commands/scripts? Is such facility available? (3 Replies)
Discussion started by: praveenkumar_l
3 Replies

3. Shell Programming and Scripting

Why My Script Stops After 1st Command

My script is very simple. It call isql and then echo a message. The problem is after the 1st command (isql), it stops so that the echo line never gets executed. Can anyone let me know what is wrong? #!/usr/bin/sh userid=xxxx server=xxxx db=xxxx pwd=xxxx isql -U ${userid} -S ${server}... (3 Replies)
Discussion started by: robbyls
3 Replies

4. Shell Programming and Scripting

cleartool - script stops after using setview

Hi Guys, See the below code. The command below the cleartool setview ITG_Automation is not executing. Could you please suggest. #!/bin/ksh echo $0 cleartool setview ITG_Automation echo $0 (3 Replies)
Discussion started by: ajincoep
3 Replies

5. Shell Programming and Scripting

Logon/Logoff script

I need help for writing a logon/logoff script for recording user's computer usage time. This is for local login only, not for ssh or something like that. When a user logon, there should be a temp file (/home/acct/login_temp) generated including the logname and logon time information in the... (8 Replies)
Discussion started by: jimx
8 Replies

6. Shell Programming and Scripting

Script with infinite loop stops after sometime

Hi I am working on a server that is set up and maintained by a third party. It seems whenever I run bash scripts in the background (with a &) with while loops in them they seem to me killed in around 2.5 hours. ( I am running them as a normal user with no special privileges ) . Is there a... (3 Replies)
Discussion started by: pkabali
3 Replies

7. Shell Programming and Scripting

Script stops working after copying it

Hi all, When I cp a script, this section of the code stops reading from a file. if ; then while read dirtoclean do DIRSTOCLEAN=${DIRSTOCLEAN}' '$dirtoclean done < ${BASEDIR}test.conf fi ${DIRSTOCLEAN} doesn't return anything, even though it will work right before... (6 Replies)
Discussion started by: nicksantos1
6 Replies

8. Shell Programming and Scripting

Case Statement for Login/Logoff Script

I'm currently trying to write a login script. I have already written a logoff script that uses an if/else statement. #!/bin/bash TIMED=$(date +%H) if ' then echo Have a Great Day $USER else echo Have a Great Night $USER fi But I'd like to write one that give me the option of... (1 Reply)
Discussion started by: bbowers
1 Replies

9. Shell Programming and Scripting

My script stops working when using crontab

I have made a shell script(/bin/sh) that starts a perl script (that I haven't made my self) that's starts a ssh session. The ssh session uses a private/public key to login so no password is needed. The Perl script works perfect. But when I put it in a cronjob (crontab) the ssh connection asks... (6 Replies)
Discussion started by: splinter_cell
6 Replies

10. Shell Programming and Scripting

Copy Script Stops

Good Morning, I have a copy script on Solaris 9 machine that is supposed to copy some files to a NAS using: cp -r /dir/dir/ /dir/dir/dirThe script doesn't finish. The directory contains user files of which one seems to copy fine, a second was failing until I did achmod -R -777 to it. Now,... (6 Replies)
Discussion started by: Stellaman1977
6 Replies
CELESTIA(1)						      General Commands Manual						       CELESTIA(1)

NAME
celestia - A real-time visual space simulation SYNOPSIS
celestia [options] DESCRIPTION
This manual page documents briefly celestia, a 3D space simulator. Celestia is a real-time visual simulation of space in our local region of the universe. Choose a point within about 1000 light years of Earth, and Celestia will show you an approximation of how it would appear to your eyes were you actually there. Some of what Celestia shows is necessarily hypothetical--the farther away from Earth you get, the less real data there is and the more guesswork is involved. Thus Celestia supplements observational data with good guesses based on models of stellar and planetary processes. Celestia is unique in its ability to allow you to navigate at an immense range of scales. Orbit a couple kilometers above the surface of a tiny, irregular asteroid, then head off toward Jupiter, watching it grow from a bright point of light into a looming sphere filling your field of vision. Leave our solar system entirely and observe the sun as it fades from a brilliant disk to a bright star, disappearing almost entirely as you head off toward the Upsilon Andromeda system to orbit around its innermost giant planet. OVERVIEW
Celestia will start up in a window, display a welcome message and some information about your target (top left corner), your speed, and the current time (Universal Time, so it'll probably be a few hours off from your computer's clock.) In Celestia, you'll generally have an object selected; currently, it's Eros, but it could also be a star, planet, spacecraft, or galaxy. The simplest way to select an object is to click on it. Try clicking on a star to select it. Right drag the mouse to orbit arround the selected target. Left dragging the mouse changes your orientation too, but the camera rotates about its center instead of rotating around the target. Rolling the mouse wheel will change your distance to the space station--you can move light years away, then roll the wheel in the opposite direction to get back to your starting location. If your mouse lacks a wheel, you can use the Home and End keys instead. Press G and you'll zoom through space toward the selected star. If you press G again, you'll approach the star even closer. Press H to select our Sun, and then G to go back to our solar system. You'll find yourself half a light year away from the Sun, which looks merely like a bright star at this range. Press G three more times to get within about 30 AU of the Sun and you will be to see a few planets become visible near the Sun. USAGE
Mouse functions: Left drag orient camera Right drag orbit the selected object Mouse wheel, Middle drag adjust distance to selection left click select target, double click to center Keyboard commands: Navigation H Select the sun (Home) C Center on selected object G Goto selected object F Follow selected object Y Orbit the selected object at a rate synced to its rotation ESC Cancel motion Free movement HOME Move closer to object END Move farther from object F1 Stop F2 Set velocity to 1 km/s F3 Set velocity to 1,000 km/s F4 Set velocity to 1,000,000 km/s F5 Set velocity to 1 AU/s F6 Set velocity to 1 ly/s A Increase velocity by 10x Z Decrease velocity by 10x Q Reverse direction X Set movement direction toward center of screen Time Space stop time L Time 10x faster K Time 10x slower J Reverse time Options U Toggle galaxy rendering N Toggle planet and moon labels O Toggle planet orbits V Toggle HUD Text I Toggle planet atmospheres (cloud textures) W Toggle wireframe mode / Toggle constellation diagrams = Toggle constellation labels ; Toggle earth-based equatorial coordinate sphere B Toggle star labels P Toggle per-pixel lighting (if supported) [ Decrease limiting magnitude (fewer stars visible) ] Increase limiting magnitude (more stars visible) { Decrease ambient illumination } Increase ambient illumination , Narrow field of view . Widen field of view Other D Run demo ` Show frames rendered per second It's possible to choose a star or planet by name: press Enter and type in the name, and pressing Enter again. You can use common names, or Bayer designations and HD catalog numbers for stars. Bayer and Flamsteed designations need to be entered like "Upsilon And" and "51 Peg". The constellation must be given as a three letter abbreviation and the full Greek letter name spelled out. HD catalog numbers must be entered with a space between HD and the number. OPTIONS
The glut based version accepts the usual X Window System specific options, namely: -display DISPLAY Specify the X server to connect to. If not specified, the value of the DISPLAY environment variable is used. -geometry WxH+X+Y Determines where window's should be created on the screen. The parameter following -geometry should be formatted as a standard X geometry specification. The effect of using this option is to change the GLUT initial size and initial position the same as if glutInitWindowSize or glutInitWindowPosition were called directly. -iconic Requests all top-level windows be created in an iconic state. -indirect Force the use of indirect OpenGL rendering contexts. -direct Force the use of direct OpenGL rendering contexts (not all GLX implementations support direct rendering contexts). A fatal error is generated if direct rendering is not supported by the OpenGL implementation. If neither -indirect or -direct are used to force a particular behavior, GLUT will attempt to use direct rendering if possible and otherwise fallback to indirect rendering. -gldebug After processing callbacks and/or events, check if there are any OpenGL errors by calling glGetError. If an error is reported, print out a warning by looking up the error code with gluErrorString. Using this option is helpful in detecting OpenGL run-time errors. -sync Enable synchronous X protocol transactions. This option makes it easier to track down potential X protocol errors. AUTHOR
Celestia has been written by Chris Laurel <claurel@www.shatters.net> and it's available under the terms and conditions of the GNU General Public LIcense from http://celestia.sf.net/ May 23, 2001 CELESTIA(1)
All times are GMT -4. The time now is 02:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy