Successfully reported this slideshow.
Your SlideShare is downloading. ×

Shell Script 4 DBAs

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad

Check these out next

1 of 41 Ad

More Related Content

Similar to Shell Script 4 DBAs (20)

Recently uploaded (20)

Advertisement

Shell Script 4 DBAs

  1. 1. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential SHELL SCRIPT FOR DBA Rodrigo Mufalani Principal DB Architect Oracle Certified Master (OCM) Oracle ACE Member eProssed - Luxembourg
  2. 2. Mobile Process / Integration Analytics / Big Data Database / Data Management Identity & Access Management Oracle Cloud eProseed Confidential2
  3. 3. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential BOUT ME Principal DB Architect at eProseed Lux Oracle Certified Master (OCM) Oracle ACE Member Chairman of LuxOUG Board Member at GUOB Contacts mufalani@gmail.com Twitter.com/mufalani https://www.linkedin.com/in/mufalani/
  4. 4. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential bit.ly/OracleACEProgram 500+ Technical Experts Helping Peers Globally Nominate yourself or someone you know: acenomination.oracle.com
  5. 5. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential
  6. 6. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential AGENDA History Basics Loop structures Conditional structures Functions Demos 7
  7. 7. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential DISCLAIMER “The postings on this document are my own and don’t necessarily represent my actual employer positions, strategies or opinions. The information here was edited to be useful for general purpose, specific data and identifications were removed to allow reach the generic audience and to be useful for the community.”
  8. 8. 9 HISTORY
  9. 9. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential10 HISTORY Bourne Shell - (sh) - /bin/sh First appeared 7th Ed. of Bell Labs Research version of Unix
  10. 10. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential11 HISTORY C Shell - (csh) - /bin/csh Delivered on BSD systems first available on 4.4 BSD Used by C programmers (Similar sintax)
  11. 11. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential12 HISTORY Kourn Shell - (ksh) Shipped with comercial Unixes (AIX, HP-UX and Solaris) It was not free (later became open-source) http://www.kornshell.com/
  12. 12. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential13 HISTORY Bourne Again Shell - (bash) - /bin/bash Linux systems chsh –s <shell> <username> https://www.gnu.org/software/bash/
  13. 13. 14 BASICS
  14. 14. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential15 BASICS
  15. 15. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential16 BASICS
  16. 16. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential17 BASICS
  17. 17. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential18 BASICS
  18. 18. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential19 BASICS
  19. 19. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential20 BASICS
  20. 20. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential21 BASICS
  21. 21. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential22 BASICS
  22. 22. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential23
  23. 23. 24 LOOP STRUCTURES
  24. 24. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential25 LOOP STRUCTURES
  25. 25. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential26 LOOP STRUCTURES
  26. 26. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential27 LOOP STRUCTURES
  27. 27. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential28 LOOP STRUCTURES
  28. 28. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential29 LOOP STRUCTURES
  29. 29. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential30 LOOP STRUCTURES
  30. 30. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential31
  31. 31. 32 CONDITIONAL STRUCTURES
  32. 32. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential33 CONDITIONAL STRUCTURES
  33. 33. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential34 CONDITIONAL STRUCTURES https://ryanstutorials.net/bash-scripting-tutorial/bash-if-statements.php
  34. 34. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential35 CONDITIONAL STRUCTURES
  35. 35. 36 FUNCTIONS
  36. 36. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential37 FUNCTIONS
  37. 37. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential38 FUNCTIONS https://www.shellscript.sh/functions.html
  38. 38. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential39
  39. 39. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential
  40. 40. Copyright © 2019,eProseed and/or its affiliates. All rights reserved. | Confidential

×