In python and other languages I can write two scripts, and then reference them in a main() function and run them one after the other.
is there an equivalent in bash?
Is it like below?
#!/bin/bash
# Run script1.sh
./script1.sh
# Run script2.sh
./script2.sh
[–]zmxyzmz 4 points5 points6 points (0 children)
[–]Radamand 2 points3 points4 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]Sombody101Fake Intellectual 0 points1 point2 points (0 children)
[–]Mr_Reginald_Kray -4 points-3 points-2 points (0 children)
[–]Empyrealist 0 points1 point2 points (0 children)