repeat line multiple times perl -ne 'print $_ x 3' file # or !awk '{for (i = 1; i <= 3; i++) print $0}' file Auto sync updates to Github cd /<your path> git add . git commit -m "auto save:Update some logseq pages." git push origin main # chmod 777 this_script.sh # +crontab