The Internal Field Separator

In this lesson we will cover how and when to use the 'IFS' variable to protect your scripts from bugs, as well as other techniques available to achieve similar ends.

How Important is this Lesson?

Learning this concept will save you a great deal of time trying to figure out why your for loop is not working as expected, and will help you write more correct bash scripts that won’t fail.

Files With Spaces

Create a couple of files with spaces in their names:

Get hands-on with 1200+ tech skills courses.