Hi all! 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 guess maybe it could be done by putting the commands in a variable and then do: $CMD echo $CMD But perhaps there is a more elegant way to do this in a single line. Thanks in advance. Best regards, Daniel -- Ing. Daniel Bareiro - GNU/Linux registered user #188.598 Proudly running Debian GNU/Linux with uptime: 18:58:57 up 75 days, 21:25, 18 users, load average: 1,07, 1,12, 1,13
signature.asc
Description: Digital signature