Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Shell Scripting (http://www.domainnameforum.org/forumdisplay.php?f=130)
-   -   How to 'spool' in a script (http://www.domainnameforum.org/showthread.php?t=148519)

webdev 03-11-2011 08:03 AM

How to 'spool' in a script
 
In a shell script, I want to 'spool' (record) the shell prompt & command typed alongwith its output into a file. eg: In the script, if I give a 'ls' command, the file should contain: <div class="codeblock"> <div class="spaced"> <div><span class="mediumfont">Shell Scripting...


All times are GMT -4. The time now is 01:04 PM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.