Karellism

script2.sh

Dec 17th, 2020
907
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.17 KB | None | 0 0
  1. #!/bin/bash
  2. # demonstrate variable scope 2
  3.  
  4. # Let's verify their current value
  5.  
  6. echo $0 :: var1 : $var1, var2 : $var2
  7.  
  8. # Let's change their values
  9.  
  10. var1=flop
  11. var2=bleh
Advertisement
Add Comment
Please, Sign In to add comment