Recording Session in Terminal

Handed over your system to one of your notorious friend and worried what he’ll do with it.Recording the session can be helpful in keeping track of whatever he has done.Similar needs may arise due to various reasons.

Instead of installing a GUI software,you can record the session with a simple one line command.Just open the terminal and type:

ffmpeg  -f  x11grab  -s  wxga  -r  25  -i  :0.0  -sameq  <file-name>.mpg

  • -f : force-format
  • -r : Sets frame-rate
  • -s : sets size (wxga=1366*768)
  • -i : input-file

If ffmpeg in not installed,simply install it with:

sudo apt-get install ffmpeg

Child’s play,isnt it? Happy recording.  🙂

Advertisements

3 thoughts on “Recording Session in Terminal”

    1. It will record everything going on your screen whether its in terminal or GUI.
      Closing the terminal will close the recording :/. You’ll ve to use your intelligence here.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s