How can I see all screens of a user?

Hi folks,

I was running many commands using root and closed the session.

I would like to see if there is a way to go back to the server and see those screens so I can remember what I did the next time I need to do that.

Thanks a bunch!

Which version of RHEL? Which window manager are you using? GNOME or KDE?

This is server so I am not using any GUI.

The version is

Linux version 2.6.18-164.el5 (mockbuild@x86-003.build.bos.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Tue Aug 18 15:51:48 EDT 2009

I want to see all commands and results of what I have done. Note, the session is now closed but root was the user.

Hopefully good news coming from you :slight_smile:

Hi,
You can find the commands executed information by the command history

or even you can open and see the file .bash/csh/ksh_history in your home directory

cat ~/.bash_history

522 perl ex.pl
523 cat ex.pl
524 ipconfig |grep -i 'IP Address'
525 cat
526 cd ~
527 ls -a
528 cat .bash_history
529 ls -a
530 histroy
531 history

thanks,
venkat