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=144048)

webdev 02-19-2011 04:54 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 12:26 PM.

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