Hello Everybody,
Please help.
I was trying to automate the use of a third-party given shell script. The script is written to be used at run-time to collect a few variables to be provided by the user through key board, in the fashion as below:
./runcommand
please provide a file name to... (6 Replies)
Scenario:
I have two PCs (named as A & B) which would send some traps to my third PC (named as C).
In PC C, I have to write a shell script such that it should accept the datas from both the PC-A & B parallely.
So my question is, is it possible to have two different child threads/tasks... (2 Replies)
Hello everyone,
I have two types of files in a directory:
*.txt
*.info
I have a perl script that uses these two files as arguments, and produces a result file:
perl myScript.pl abc.txt abc.xml
How can I run this script (in a "for" loop , looping through both types of files)... (4 Replies)
hi,
i have folder backup and it contains 3 sub-directories , i want to compare
/backup/1 with /recover/1 and /backup/2 with /recover/2 etc .
parallelly with using shell scripting .
pls help me
thanks (2 Replies)
I would like to call a function called CIRCLE which is further beind called by other function but in a loop that CIRCLE fuction is being called. And this CIRCLE function starts another process which takes 3 hours to complete again, if i put that process in nohup &, I can go to the next command... (2 Replies)
the scenario is -
If I pass 3 three arguments( run time) , it should list all .txt files from a path to temp file
if I pass 2 arguments ( run time) , it should list all .csv files from the same path to another temp file
the above scenario should be handled in single code and also I dont know ... (2 Replies)
I need to run a local shell script on a remote machine. I am able to achieve that by executing the command
> ssh -qtt user@host < test.sh
However, when I try to pass arguments to test.sh it fails.
Any pointers would be appreciated. (7 Replies)
Hi ,
I have 4 scripts example script1,script2,script3,script4 .
I have to run script1,script2 and script3 parallely since this 3 scripts dont have dependencies .
Once script1,script2 and script3 got completed successfully , I have to trigger script4.
Can someone help me on this how to... (10 Replies)
Hi,
I need to write a Shell Script wherein i will connect to a DB2 Database and run multiple DB procedures. I know how to do in a way where procedures will be called one after the other, like when first procedure finishes, second will be executed.
But what i want is to run them at the same time... (11 Replies)
Discussion started by: Neelkanth
11 Replies
LEARN ABOUT REDHAT
gnome-session
GNOME(1) General Commands Manual GNOME(1)gnome-session - Starts up the GNOME desktop environmentSYNOPSIS
gnome-session [--choosesession] [--failsafe] [--purge-delay=DELAY] [--warn-delay=DELAY] [--suicide-delay=DELAY] [session-name]
DESCRIPTION
The gnome-session program starts up the GNOME desktop environment. This command is typically executed by your login manager (either gdm,
xdm, or from your X startup scripts). It will load either your last session, or it will provide a default session for the user as defined
by the system administrator (or the default GNOME installation on your system).
You can optionally specify a specific session name to restore.
gnome-session is an X11R6 session manager. It can manage GNOME applications as well as any X11R6 SM compliant.
gnome-session uses the contents of the ~/.gnome/session file for starting up as specified by the "Current Sesssion" key in the
~/.gnome/session-options file. Various default values are provided in case the file entry does not exist.
If the session file does not exist, gnome-session will use the contents of the /usr/share/gnome/default.session file.
OPTIONS
The following options are supported:
--choose-session=ARG
User can specify a session to load, as opposed to the session specified in the ~/.gnome/session-options file. If that entry does not
exist in the ~/.gnome/session file (or if that file doesn't exist), it will use the default session and all saves to that session
will be to the new session name.
--failsafe
Fail safe operations mode: only reads saved sessions from the default.session file.
--purge-delay=ARG
The number of millisecond that gnome-session will wait for clients to register, if you use 0 it will wait forever (default value:
30,000 milliseconds).
--warn-delay=ARG
The number of millisecond that gnome-session will wait for clients to respond, if you use 0 it will wait forever (default value:
10,000 milliseconds).
--suicide-delay=ARG
The number of millisecond that gnome-session will wait for clients to die, if you use 0 it will wait forever (default value: 10,000
milliseconds).
ENVIRONMENT
gnome-session accepts all of the standard environment variables used by gnome programs, other than the SESSION_MANAGER environment vari-
able. [ xref to a manpage where this is documented. ] gnome-session also sets several environment variables for the use of its child pro-
cesses.
SESSION_MANAGER
This variable is used by session-manager aware clients to contact gnome-session.
DISPLAY
This variable is set to the X display being used by gnome-session. Note that if the --display option is used this might be different
from the setting of the environment variable when gnome-session is invoked.
SEE ALSO default.session(5),gnome-session-save(1)BUGS
If you find bugs in the gnome-session program, please report these using bug-buddy or the gnome-bug script included with the GNOME
libraries distribution.
GNOME 1.0 GNOME(1)