11-06-2002
nohup the application and run it in the background:
# nohup /path/to/application &
Alternatively place the above command in a script and execute that script, very simple script (for bourne & bash shell) would look like:
#! /bin/sh
PATH=$PATH
nohup /path/to/application &
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm using Mac OSX.
And i want to make an visual application based on bash command.
But, apple script doesn't support Terminal command.
So please tell me how to turn my dream into a reality. :o
I mean purely by bash! (0 Replies)
Discussion started by: Euler04
0 Replies
2. Shell Programming and Scripting
Hi there.
How do I make the DB connection see the parameter variables passed to the unix script ? The code snippet below isn't working properly.
sqlplus << EOF
user1@db1/pass1
BEGIN
PACKAGE1.perform_updates($1,$2,$3);
END;
EOF
Thanks in advance,
Abrahao. (2 Replies)
Discussion started by: 435 Gavea
2 Replies
3. UNIX for Dummies Questions & Answers
Hi
What do we mean when we say " Unix is Machine Independent?"
Can anybody explain with example?
Thanks (1 Reply)
Discussion started by: skyineyes
1 Replies
4. Linux
A gnome session is launched by UserA of System A, I am connected to userB of System B(or A) through PUTTY. I want to launch an application for eg: gedit through Putty in the display of system A. how can I achieve this.
for eg:-
root is logged in to System A, with gdm.
DISPLAY=0.0, ip =... (4 Replies)
Discussion started by: Sivaswami
4 Replies
5. Shell Programming and Scripting
Hi,
Apologies if anyone has read my recent post on the same subject in the Linux forum, just thought actually the solution might more likely come from scripting.
Essentially, I am trying to restrict access to directories based on the user's name AND their location on a session-by-session... (3 Replies)
Discussion started by: en7smb
3 Replies
6. Solaris
I am not able to login in gnome session and java session in Sun solaris 9& 10 respectively through xmanager as a nis user, I am able to login in common desktop , but gnome session its not allowing , when I have given login credentials, its coming back to login screen, what shoul I do to allow nis... (0 Replies)
Discussion started by: durgaprasadr13
0 Replies
7. Shell Programming and Scripting
Besides 'who am i' and 'tty' what commands could be used to determine if a session is interactive as compared to a web process or cron process. Any command should work with the common unix variants. (3 Replies)
Discussion started by: jgt
3 Replies
8. Shell Programming and Scripting
Hi
i am trying to run a report which takes approx 5 hours to complete so what i did i put that reporting command in background and then this reporting process started executed in background but the problem is when i close that session that background job lost :( ....
please help me that... (3 Replies)
Discussion started by: aishsimplesweet
3 Replies
9. Solaris
what is the difference between desktop session and console session in solaris
as i am wondering we use option -text for the former and -nowin for the later (1 Reply)
Discussion started by: kishanreddy
1 Replies
LEARN ABOUT SUNOS
default.session
default.session.5(5) Standards, Environments, and Macros default.session.5(5)
NAME
default.session - GNOME default session configuration file
DESCRIPTION
The /usr/share/gnome/default.session file contains a list of programs to be launched the first time that a user logs into the GNOME envi-
ronment.
EXTENDED DESCRIPTION
The format of the /usr/share/gnome/default.session file is the same as that used by the gnome_config libraries, as follows:
[Section]
SEQID,id=uniqueid
SEQID,Priority=prio
SEQID,RestartCommand=command
num_clients=top
A section with the predefined name of Default specifies the session to load by default.
As the gnome_config file format is not very flexible, an array of data is emulated by listing, starting from 0, chunks of "id,Prior-
ity,RestartCommand". At the end, the num_clients variable lists the number of chunks listed.
The uniqueid key provides a name that is unique within this file and passed to the application as the client id, which it must use to reg-
ister with gnome-session.
The RestartCommand specifies the command to run from $PATH.
The Priority determines the order in which the commands are started (with Priority = 0 first) and defaults to 50.
The clients must be numbered from 0 to the value of {num_clients-1}.
FILES
The following files are used by this application:
/usr/share/gnome/defaultLocation of default session file.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-session |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
Latest version of the GNOME Desktop User Guide for your platform.
gnome-session(1), gnome-smproxy(1), gnome-session-save(1)
NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2003.
SunOS 5.10 11 Jan 2003 default.session.5(5)