Sponsored Content
Full Discussion: the command to save session
Top Forums UNIX for Dummies Questions & Answers the command to save session Post 302445073 by fedora on Friday 13th of August 2010 03:58:19 PM
Old 08-13-2010
ah, thanks
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to save all the command typed -urgent

hi I want to know how to save all the command used by all the used under a particular root with the time stamp in a file. Eg: User Name: UX10 Time: 10:56 Command: LS User Name: UX23 Time: 10:59 Command: MORE abc.txt Please do help. thanks and regards -Anand (1 Reply)
Discussion started by: anandtharani
1 Replies

2. Fedora

default session in screen command

Hello sir, Im in a Fedora 9 system. Im using screen to invoke the session that is created by me. Whenever we open the terminal then a session is created by the operating system. I want to know what is the name of default session in screen command. I could not get it using "screen -ls". Can you... (3 Replies)
Discussion started by: nsharath
3 Replies

3. Shell Programming and Scripting

to save output of a command in hash variable

Hi all, is it possible to save the output of a unix command executed in perl to be saved in hash variable.. like i have the command `find $mypath ! -user mainuser -printf \"\%u \%h\\n\"`; this will print all the users other than mainuser with their paths. so is possible to capture... (2 Replies)
Discussion started by: saapa
2 Replies

4. UNIX for Dummies Questions & Answers

how to save the output of command in tcl/expect

hi, everyone: I just wonder how to save the output of command, I mean everything, save as a string into a variable. another question is I try to ls the details of a directory, but it works in the shell, not in the script. for example code: ls -ltr *se100* | grep ^- | tail -1 | awk '... (1 Reply)
Discussion started by: allenxiao7
1 Replies

5. Shell Programming and Scripting

Save the output of the command run as other user

Dear All, I am writing a script and kind of stuck in a small thing. Cannot figure it out. so please help I am logged in as root user. I want to switch user to "user1" inside the script and execute a specific command lets say "pwd" and come back where i started. I know how to switch user,... (16 Replies)
Discussion started by: suhail.sadaqat
16 Replies

6. Shell Programming and Scripting

how to save an output of a command in a variable

Hi, in shell script, i have the command swstart -p which returns an output. i want to store the output of this command into a variable. how i can do that excerpt from the script #!/usr/bin/ksh # # # # Program: swstart -p # # Description: Starts the sentinels on Slave server ... (4 Replies)
Discussion started by: lookinginfo
4 Replies

7. Red Hat

Save sudo privilege for session

I have setup public key based login to my CentOS VPS. I wish to disable direct root login and have created an admin user under wheel group and have modified /etc/sudoers file and gave Wheel group all privileges. But now I am being prompted for password whenever I type sudo. I do not wish to... (4 Replies)
Discussion started by: JoyceBabu
4 Replies

8. Shell Programming and Scripting

how to save command into a file in linux

Hi Can anyone suggest how i can save a command into a file. i am trying to execute couple of put commands which i want to write into a file. example below put sample.dat abcd@server.com put sample1.dat abcd@server.com . . . tried cat but no luck Please suggest how i can do... (1 Reply)
Discussion started by: ramkiran77
1 Replies

9. Shell Programming and Scripting

save the return value of a unix command

Hi all, I am new in linux script, and I have the code below #!/bin/bash CMD="shuf -i 1-5 -n 1" $CMD echo $CMD exit 0 if I run the $CMD, it will return me a shuffle value. However, I need to save the return value of the shuffle, and use it later on. I tried for example print the... (3 Replies)
Discussion started by: peuceul
3 Replies

10. Shell Programming and Scripting

Save value from output of Corestat and save in a list for each core

I am trying to modify the "corestat v1.1" code which is in Perl.The typical output of this code is below: Core Utilization CoreId %Usr %Sys %Total ------ ----- ----- ------ 5 4.91 0.01 4.92 6 0.06 ... (0 Replies)
Discussion started by: Zam_1234
0 Replies
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)
All times are GMT -4. The time now is 02:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy