03-21-2006
User input from .logout
I would suggest just relogging in with the same user id. That should result in the history commands being available as per the pre-logout state.
The second issue of the SHELL timing out is a curious one. I suggest resetting the environment "TMOUT" to zero "0". After you reset the TMOUT variable and export it the SHELL should no longer suffer through an unpredictable timeout.
Good luck!
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have to write a script (not C based) that allows to capture of all commands issued by the user “root”.
First, I tried to monitor the .bash_history but the commands are written in chunk after the .bash_history is closed.
How can I capture the commands in Real-Time without waiting root to... (4 Replies)
Discussion started by: elieifrah@gmail
4 Replies
2. Shell Programming and Scripting
Hi,
I would like to capture commands on Unix SunOS. I am aware of script utility but the problem is Script utility writes to file after a sizeable chunk of data.
I need to access each command as they are typed, Is it possible in Unix..?
Thx (1 Reply)
Discussion started by: raj_paps
1 Replies
3. Shell Programming and Scripting
in our environment role ids are created in unix to which user does su.
say my individual id is drout and a role is devid.
i will login to drout
the su - devid
password : <nothing > password less role id
then i will login to devid.
can i write a function and pass it in a script while i... (4 Replies)
Discussion started by: dr46014
4 Replies
4. UNIX for Dummies Questions & Answers
Hi, i would like to create user defined commands.
e,g:
if an user executes ,
mkdircd test then a directory called test should be created and it should be cd to test.
How i can create the command mkdircd with below action:
mkdir $1 && cd $1.
Please help me in achieving this (7 Replies)
Discussion started by: pandeesh
7 Replies
5. Shell Programming and Scripting
I am using the below code to ftp file onto another server
FTP_LOG_FILE=${CURR_PRG_NAME}- ${FTP_FILE}-`date +%Y%m%d%H%M%S`.log
ftp -ivn ${FTP_HOST} ${FTP_PORT} << ENDFTP >> ${EDI_LOG_DIR}/${FTP_LOG_FILE} 2>&1
user ${FTP_USER} ${FTP_PSWD}
lcd... (2 Replies)
Discussion started by: akashdeepak
2 Replies
6. Shell Programming and Scripting
Using ksh on AIX what I am trying to do is to read the ls -l output from a file in a do while loop line by line. Extract the user name(3rd field) and the directory/file name(9th field) using awk and save them into variables. su -c to the user and change directory/file permisions to 777. Script I... (13 Replies)
Discussion started by: zubairom
13 Replies
7. HP-UX
Hi
I want to know how capture all user command line output and save this commands and outputs to text files?
if you have script for this subject please give me.:o
please help me
thank you (6 Replies)
Discussion started by: amvhd
6 Replies
8. Shell Programming and Scripting
I need somebody who could help with an exercise.
You have a text file called users.txt with this info inside:
users.txt:
user1:1234:/home/homedir1 ;
user2:1234:/home/homedir2 ;
user3:1234:/home/homedir3 ;
user4:1234:/home/homedir4 ;
The script should create an user using the... (2 Replies)
Discussion started by: marcosruiz
2 Replies
9. Emergency UNIX and Linux Support
Can someone please help me with a way to generate a user list on a system along with the group to which the id belongs? (8 Replies)
Discussion started by: ggayathri
8 Replies
10. Shell Programming and Scripting
Dear user/friends,
After a long gap of 6 years i am back to this forum to find a solution and i hope i will get a solution or atleast a workaround for the problem:p
Following is my task which i am trying for almost 3 days without any success.
1) run this command from my terminal (note i... (7 Replies)
Discussion started by: imas
7 Replies
LEARN ABOUT CENTOS
gnome-shell
GNOME-SHELL(1) gnome-shell GNOME-SHELL(1)
NAME
gnome-shell - Graphical shell for the GNOME desktop
SYNOPSIS
gnome-shell [OPTION...]
DESCRIPTION
GNOME shell provides core user interface functions for the GNOME 3 desktop, like switching to windows and launching applications. GNOME
shell takes advantage of the capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a
visually attractive and easy to use experience.
gnome-shell is a required component of the GNOME desktop, i.e. it is listed in the RequiredComponents field of
/usr/share/gnome-session/sessions/gnome.session. It is started in the window manager phase of the session.
OPTIONS
-r, --replace
Replace the running window manager
--sm-disable
Disable connection to the session manager
--sm-client-id=ID
Specify session management ID
--sm-save-file=FILE
Initialize session from FILE
--screen=SCREEN
X screen to use
-d, --display=DISPLAY
X Display to use
--sync
Make X calls synchronous
--version
Print version and exit
--help
Display help and exit
--mode=MODE
Use a specific mode, e.g. "gdm" for login screen
--list-modes
List possible modes and exit
--clutter-display=DISPLAY
Clutter the option display (otherwise ignored)
FILES
/usr/share/gnome-session/sessions/gnome.session, /usr/share/applications/gnome-shell.desktop.
BUGS
The bug tracker can be reached by visiting the website https://bugzilla.gnome.org/buglist.cgi?product=gnome-shell. Before sending a bug
report, please verify that you have the latest version of gnome-shell. Many bugs (major and minor) are fixed at each release, and if yours
is out of date, the problem may already have been solved.
ADDITIONAL INFORMATION
For further information, visit the website http://live.gnome.org/GnomeShell.
gnome-shell GNOME-SHELL(1)