[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Logging of commands in a bash script to a file



On Wed, Apr 23, 2014 at 10:46 AM, Daniel Bareiro <daniel-listas@gmx.net> wrote:
> I want to send the commands itself to a file instead of the output
> generated by the commands.
>
> In fact, in the four cases mentioned above, if these are executed
> successfully, it does not produce any output.

If you're okay with the commands being merged with any output from
them, then "set -v" should be what you want, I think.

ChrisA


Reply to: