Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Shell Scripting Tutorial-32: Append Text to a File Through Shell Script

57.5K views on YouTube

In this tutorial you’ll learn to use the nested if-else construct and append text to a file using the ‘cat’ command.