Created
February 12, 2015 18:20
-
-
Save GlasFrost/da94caf77b10a4be5299 to your computer and use it in GitHub Desktop.
A monitored bash session using the script command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
script -a -q -f -c "/bin/bash -i" "/home/public/monsh/$(date +%Y-%m-%dT%H-%M-%S)_$(whoami)_$$.scr" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment