Cyber Security Tutorials | L27: Shell Scripting Loops | Internal Field Separator | The Easy Concepts

preview_player
Показать описание
#cybersecurity #cybersecuritytrainingforbeginners
Cyber Security Tutorials | L27: Loops in Shell Scripting | For Loop | Internal Field Separator (IFS) | The Easy Concepts

In this tutorial, we have discussed the basics of loops in shell scripting. We discussed for loop in detail along with its theoretical and practical aspects by running programs using for loop in Linux terminal.
We also discussed various ways where it's working could fail and after that, the solutions were discussed. One of the solutions that we discussed for reading lines from a file is to change Internal Field Separator (IFS) safely.

A shell script is a computer program designed to be run by the Unix shell, a command-line interpreter. The various dialects of shell scripts are considered to be scripting languages. A shell usually interprets a single line of input, but we can also create a file containing a number of lines of commands to be interpreted. This file is a program known as a shell script. The program can also contain control structures (if-then, loops). Shell scripts allow a sequence of commands to be executed automatically.

Please watch the full video to learn the concepts in more detail.

Learn Computer Science Concepts in an Easy Way !!

Рекомендации по теме
Комментарии
Автор

1- why do we use double brackets for "for loops" ?
Eg- for

2- Do other variables also store the value even after the execution is over (like IFS do)?

sarthak_