In this module you need to get familiar with the basics of bash scripting and being able to write simple ones alongside understanding / editing the more compels ones. In previous section we saw some basics. Here I'll start with showing you how to use test (if) in shell and will talk about returned value of a script / program. Then we will see loops (for and while) and learn how to mail the root user (or others!) if needed.
00:00 - if conditions in bash/shell and returned values
09:11 - read command to input date in shell scripts
10:20 - return values in read shell environment
12:05 - for loop in shell / bash (and seq command)
16:16 - while loop in shell / bash (and let command)
16:34 - mailing the root user
Full LPIC1 course: • LPIC 1 (version 500) Course
Textbook: https://linux1st.com/1052-customize-o...
Смотрите видео LPIC 1 - 053 - 105.2 -2/2 - Shell scripting basics; returned values conditions, read, loops, mailing онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Jadi 16 Апрель 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,094 раз и оно понравилось 42 людям.