Can I use what I wrote on the shell (bash, cmd, irb, etc) in a script automaticaly?

Posted by El_Hoy on Stack Overflow See other posts from Stack Overflow or by El_Hoy
Published on 2010-06-07T23:57:20Z Indexed on 2010/06/08 0:02 UTC
Read the original article Hit count: 202

Filed under:
|
|
|

The general idea is pretty simple, I want to make a script for a certain task, I do it in the shell (any shell), and then I want to copy the commands I have used.

If I copy all the stuff in the window, then I have a lot of stuff to delete and to correct. (and is not easy to copy from shell)

Resume: I want to take all the things I wrote...

Is there an easy way to do this easy task?

© Stack Overflow or respective owner

Related posts about bash

Related posts about shell-scripting