Advertisement
Sergio_Istea

Untitled

Nov 30th, 2022
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. ESTO ES EL ARCHIVO 'libreria'
  2.  
  3. fecha=$(date)
  4.  
  5. read -p "Nombre: " nombre
  6.  
  7. func_hola () {
  8.  
  9. echo hola
  10.  
  11. }
  12.  
  13.  
  14. ESTO EL ARCHIVO 'script.sh'
  15.  
  16.  
  17. #!/bin/bash
  18.  
  19. source libreria
  20.  
  21. echo $fecha
  22.  
  23.  
  24. echo $nombre
  25.  
  26. func_hola
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement