Answers for "output to log file bash"

0

output to log file bash

#!/bin/bash
echo "This logs to where I want, but using echo" > /var/log/mycustomlog

OR

#!/bin/bash
echo "I will just append to my custom log file" >> /var/log/customlog
Posted by: Guest on November-18-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language