Rather than teaching you every tool, I try to teach just the best tools.
I was wrong to teach you echo, which is useless, when I could have taught you printf, which is very useful.
But tonight I’m correcting that great miscarriage of justice!

printf ‘’ [double arrow] ./filename.txt # create a file
printf ‘Hello World!\n’ [double greater than] ./filename.txt # Add the line ‘Hello, World!’
printf ‘%q’ ‘Hello World!’ # show acceptable escapes

Beyond Code:
(Learn to Code in 15 Minutes a Day)
Bootcamp Playlist: https://www.youtube.com/playlist?list=PLxki0D-ilnqZfyo2dZe11ZNGP7RJxJcoA
Subscribe on YouTube: https://youtube.com/channel/UC2KJHARTj6KRpKzLU1sVxBA
Join on Facebook: https://fb.com/beyondcodebootcamp
Follow on Twitter: https://twitter.com/@_beyondcode

AJ’s Live Streams:
Watch on Twitch: https://twitch.tv/coolaj86
Watch on Facebook: https://facebook.com/coolaj86
Subscribe on YouTube: https://youtube.com/coolaj86

Health, Wealth, Commitment
(My Morning Shower Thoughts as a Daily Lifestyle Vlog)
Join on Facebook: https://www.facebook.com/groups/5406824179391158
Subscribe on YouTube: https://www.youtube.com/channel/UCbw2SbqD0OofAEVF_T61wCQ

#softwaredevelopment #softwareengineer #webdevelopment #webdeveloper

#bash #softwareengineer #webdevelopment #bash printf #webdeveloper #echo

Bash printf: don't use echo! Beyond Code Live 006.c
1.20 GEEK