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...
Watch video LPIC 1 - 053 - 105.2 -2/2 - Shell scripting basics; returned values conditions, read, loops, mailing online without registration, duration hours minute second in high quality. This video was added by user Jadi 16 April 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,094 once and liked it 42 people.