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

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



On Tue, Apr 22, 2014 at 07:06:41PM -0300, Daniel Bareiro wrote:

> I'm writing a bash script that runs several routing commands. I would
> like these commands, on a part of the script, plus run, are saved to a
> log file.

I'm having trouble processing this paragraph. Are you saying that you
want to run a script and have the commands within the script (and their
output) recorded in another file?

Cheers,
Tom

-- 
Logicians have but ill defined
As rational the human kind.
Logic, they say, belongs to man,
But let them prove it if they can.
		-- Oliver Goldsmith

Attachment: signature.asc
Description: Digital signature


Reply to: