How to record a linux session
If you want to record your linux session with given commands and their outputs, just use the script command as below:
script session.log
it basically forks a new shell so that if you want to stop session recording, just type exit or press CTRL-D After all, you can find session records in session.log file.
Another interesting usage of script utility, redirect your typed characters to another user's terminal who is logged on telnet/ssh or like that. To do this, you must learn devpts number of that person (it's included who command's output) and if it is 7 for example:
script /dev/pts/7
will redirect all typed characters to that user's terminal window.
- 0 Comment
- Murat Demirten
- 14 Apr 2008, 10:11
-
You must be login first or sign-up for an account to post comments.
Maybe you should look at these also:
USERBOX
CATEGORIES
MOST READ TODAY
- Enabling remote desktop on a VirtualBox Machine
- dropbear rsa key problem
- Redirecting tcp / udp ports with socat
- XFS Filesystem has duplicate UUID problem
- Users with /bin/false shell to login on vsftpd
- Remove all frozen messages from exim mail queue
- Rewriting destination ip address
- Recovering mysql root password
- How to record a linux session
- Lowercase Table Names in MySQL
LAST ADDED
- Using iPhone internet sharing over bluetooth under Linux
- Using USB sound card with amarok
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Disabling ipv6 functionality
- How to convert a mp3 file
- How to choose the fastest Debian mirror
- Disabling reverse dns lookups in ssh
- Rewriting destination ip address
- Deleting A File By It's Inode Value
- Learning which libraries are used for a binary
