Quantcast
Channel: Bash reads text file line by line and triggers logger to log the line into var/log - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Bayou for Bash reads text file line by line and triggers logger to...

The logger command prints data in /dev/log. logger has a -f option to put the entire file into syslog. Read a file into syslog: $ logger -f some_file.txt If you want to create X log files, each with a...

View Article



Bash reads text file line by line and triggers logger to log the line into...

I'd like to write a bash/bash script that could contain while loop which would read a text file line by line from the start till the end and trigger logger to make a log file from the current line....

View Article
Browsing all 2 articles
Browse latest View live




Latest Images