AdminDev Labs
Shell Scripting
- Autor: Vários
- Narrador: Vários
- Editora: Podcast
- Duração: 0:18:29
- Mais informações
Informações:
Sinopse
## Shell Scripting ### Why Bother? - Despite the length of automating or scripting, the time you save in the end is worth it. - Understanding your system; baseline computer logic; thinking "programatically" - 31337 f***ing h@x ### Scripting Conventions - She Bang(s?) - /usr/bin/env python3 - /usr/bin/env ruby - chmod u+x ("YOU" can execute) chmod g+x (Your "GROUP" can execute) - Throw it in a crontab ### Scripting Logic - variables - while loops - for - until - if/then/else - case/switch statements ### Automation - Reading from files - Reading from databases - Arguments, environment variables, and user input ### User tools - dialog package - kdialog (KDE is the best, btw ;) )