0% found this document useful (0 votes)
30 views

Bash Shell Scripting: While Loop With IFS

shell while

Uploaded by

srikanth ganji
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

Bash Shell Scripting: While Loop With IFS

shell while

Uploaded by

srikanth ganji
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Bash Shell Scripting

while loop with IFS

Learn how to automate common tasks using bash shell scripting


While with IFS:
 IFS: Internal Field Separator, which is one of the shell or environment variable.
 The IFS variable is used as a word separator (token) for the loops.
 If we are going to change the default IFS, then it is a good practice to store the
original IFS in a variable.

 While syntax with IFS:

Learn how to automate common tasks using bash shell scripting

You might also like