diff --git a/sources/tech/20171116 Record and Share Terminal Session with Showterm.md b/sources/tech/20171116 Record and Share Terminal Session with Showterm.md new file mode 100644 index 0000000000..ff86cf743d --- /dev/null +++ b/sources/tech/20171116 Record and Share Terminal Session with Showterm.md @@ -0,0 +1,74 @@ +Record and Share Terminal Session with Showterm +====== + +![](https://www.maketecheasier.com/assets/uploads/2017/11/record-terminal-session.jpg) + +You can easily record your terminal sessions with virtually all screen recording programs. However, you are very likely to end up with an oversized video file. There are several terminal recorders available in Linux, each with its own strengths and weakness. Showterm is a tool that makes it pretty easy to record terminal sessions, upload them, share, and embed them in any web page. On the plus side, you don't end up with any huge file to deal with. + +Showterm is open source, and the project can be found on this [GitHub page][1]. + + **Related** : [2 Simple Applications That Record Your Terminal Session as Video [Linux]][2] + +### Installing Showterm for Linux + +Showterm requires that you have Ruby installed on your computer. Here's how to go about installing the program. +``` +gem install showterm +``` + +If you don't have Ruby installed on your Linux system: +``` +sudo curl showterm.io/showterm > ~/bin/showterm +sudo chmod +x ~/bin/showterm +``` + +If you just want to run the application without installation: +``` +bash <(curl record.showterm.io) +``` + +You can type `showterm --help` for the help screen. If a help page doesn't appear, showterm is probably not installed. Now that you have Showterm installed (or are running the standalone version), let us dive into using the tool to record. + + **Related** : [How to Record Terminal Session in Ubuntu][3] + +### Recording Terminal Session + +![showterm terminal][4] + +Recording a terminal session is pretty simple. From the command line run `showterm`. This should start the terminal recording in the background. All commands entered in the command line from hereon are recorded by Showterm. Once you are done recording, press Ctrl + D or type `exit` in the command line to stop your recording. + +Showterm should upload your video and output a link to the video that looks like http://showterm.io/. It is rather unfortunate that terminal sessions are uploaded right away without any prompting. Don't panic! You can delete any uploaded recording by entering `showterm --delete `. Before uploading your recordings, you'll have the chance to change the timing by adding the `-e` option to the showterm command. If by any chance a recording fails to upload, you can use `showterm --retry