Recording a UNIX Session

Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Recording a UNIX Session
# 1  
Old 01-13-2008
Bug Recording a UNIX Session

Hi All,

I have a question regarding recording the unix sessions.

I know the recording can be done using script comman, however i want to create a daily file of unix session. Also when i open multiple sessions how will the script multiple session. Please suggest some solutions also which file i have to incorporate this changes in .profile or .cshrc file.

the file i changed is .cshrc also following entry i will be putting in the .cshrc file.

script output/`date +%Y%m%d

However when i copy something like that every second a file is created/updated and is displayed on the screen.

Please let me know the easy way

Cheers, amit
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Unix scripting and screen session

hi, i am on AIX 5.3. I would like to write scripts that initiate or reattach to a screen session to run some commands either from unix or Universe. Can anyone assist me with a with a wuick primer on this. I can attach or initiate a screen manually and then run the commands but I would like to... (6 Replies)
Discussion started by: dustytina
6 Replies

2. Shell Programming and Scripting

How to Capture a Unix Terminal Session?

Hi All, I want to capture all the operations performed in the terminal. So to achieve this I used “script” command. This works as I expected. But this command captures all the standard output which is redirected to terminal. For example if i “tail” a file, even the tail output is getting... (2 Replies)
Discussion started by: kalpeer
2 Replies

3. Shell Programming and Scripting

passing keycodes to a unix session

Hi - i have an unix application which receives user input and prints certain details. the problem is i am trying to automate it and i don't know how to pass a list of commands to the application using shell script. here documents don't work as well - if i use the here document when i am opening... (3 Replies)
Discussion started by: azzazin007
3 Replies

4. AIX

Unix session timeout?

We recently moved servers to a new data center, and now we're experiencing user sessions timing out after non-activity. We didnt experience this before, or know of any timeout settings that may have been changed. Any things I can check out on the server? (3 Replies)
Discussion started by: NycUnxer
3 Replies

5. Solaris

I am not able to login in gnome session and java session in Sun solaris 9& 10

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

6. UNIX for Dummies Questions & Answers

Unix Telnet session

Hi Is there any way whilst in a telnet session you can view your client machine name that you are using to connect to the Unix box ? :eek: (2 Replies)
Discussion started by: mlucas
2 Replies

7. Shell Programming and Scripting

sqlplus session being able to see unix variables session within a script

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

8. Shell Programming and Scripting

unix session

Hi, we have our shell sessions timing out after every 5 minutes , if there is no activity. Is there any way i can keep my session for longer than 5 minutes or untill i end the session. may be any dummy program that runs background and doesn't take up lot of resources or any ideas. ... (6 Replies)
Discussion started by: thomaso
6 Replies

9. Shell Programming and Scripting

"SCRIPT" (recording session) from ShellScripts

Hi all, Hope that we are all familiar with the "script" command, which helps us to record the session into any file, until we give "exit". Can anyone help me, how to do this process from a shell script!? I face problem while ending the script using "exit" which comes out of the program. This... (3 Replies)
Discussion started by: mohanprabu
3 Replies

10. UNIX for Advanced & Expert Users

Unix login session and Password

Hi All, I've login to Unix using login name guest and I'm working on it, I need another session to run some script hence tried to login but password invalid it says here my question is : Since I'm in working in one session can I set the password without knowing old password? is there any... (1 Reply)
Discussion started by: krishna
1 Replies
Login or Register to Ask a Question
sb2-session(1)						       sb2-session man page						    sb2-session(1)

sb2-session - manage scratchbox2 sessions SYNOPSIS
sb2-session is used to create attachable scratchbox2 sessions. You can save session even when you haven't done '-S session' during sb2 startup. Note that you can give parameters to attach command which are passed verbatim to sb2. If there is only one session to attach, it is selected automatically. If no command is given, help text is printed. COMMANDS
help shows help text save saves current session list lists detached sb2 sessions delete SESSION deletes given session attach [SESSION [PARAMS]] attaches to a given session setenv VARIABLE VALUE store a value for an environment variable showenv show stored environment variables EXAMPLES
Basic usage is: [SB2 .. ] $ sb2-session save # save session [SB2 .. ] $ ^D # exit Later we can then attach to this session: % sb2-session attach If there are more than one saved session, then: % sb2-session list session.XXXX TARGET_ARM My Comment session.YYYY TARGET_ARM My Comment 2 session.ZZZZ TARGET_MIPS % sb2-session attach session.YYYY Here we pass '-eR' to sb2 and we only have one saved session: % sb2-session attach -- -eR '--' marks end of parameter list for sb2-session. setenv VARIABLE VALUE can be used to add environment variables, that will become active when a saved session is later taken into use (either by sb2-session attach or by sb2 -J). setenv VARIABLE VALUE does not change environment of sessions that are already active. showenv lists environment variable settings which have been stored with this tool. It does not show environment variables from other sources. SEE ALSO
sb2(1) AUTHOR
Mika Westerberg 2.2 21 December 2010 sb2-session(1)