Skip to content

Instantly share code, notes, and snippets.

@GlasFrost
Created February 12, 2015 18:20
Show Gist options
  • Save GlasFrost/da94caf77b10a4be5299 to your computer and use it in GitHub Desktop.
Save GlasFrost/da94caf77b10a4be5299 to your computer and use it in GitHub Desktop.
A monitored bash session using the script command
#!/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