Learn about scripts, functions, chmod and set -e | #2 Practical Bash
Vložit
- čas přidán 17. 07. 2019
- Building on our learnings from the previous video, it's time to write our first script. In this video, we'll write a script and use functions in our very first bash script. We'll make use of the chmod command to make it executable and play around with set -e and set +e to react to different cases
- Věda a technologie
simple, practical, awesome! easy to learn
very good video. really liked it. set -e is new to me
Your videos are awesome and simple!
First of all Thanks for such a great video. Now a QQ : at 6:34 , why it doesn't print git push ?
e2e_test() returned 1
why you set -e and +e in file .sh end you call ./tests.sh && echo "git push" at the end off the video but resolve not display " git push " ???
Why ppl use
test_function(){
Blah blah blah
}
test_function
As above?
What's difference btw them?
good stuff but a little slower bro! Typing too fast to absorb what you're doing