Advertisement
sergio_educacionit

variables.sh

Oct 31st, 2024
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3.  
  4. echo ""
  5. echo Variables de entorno del sistema:
  6. echo ""
  7. echo HOSTNAME $HOSTNAME
  8. echo ""
  9. echo Variables de entorno de usuario:
  10. echo ""
  11. echo USER $USER
  12. echo ""
  13. echo HOME $HOME
  14. echo ""
  15. echo Variables locales:
  16. echo ""
  17. echo var $var
  18. echo Variables exportadas:
  19. echo ""
  20. echo variable_exportada $variable_exportada
  21. echo ""
  22. read -p "presione cualqueir tecla para continuar..."
  23.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement