#!/bin/bash # unset.sh: º¯¼ö¸¦ ¾ð¼ÂÇϱâ. variable=hello # ÃʱâÈ. echo "variable = $variable" unset variable # ¾ð¼Â. # variable= ¶ó°í ÇÏ´Â °Í°ú µ¿ÀÏ echo "(unset) variable = $variable" # $variable ´Â ³Î. exit 0
#!/bin/bash # unset.sh: º¯¼ö¸¦ ¾ð¼ÂÇϱâ. variable=hello # ÃʱâÈ. echo "variable = $variable" unset variable # ¾ð¼Â. # variable= ¶ó°í ÇÏ´Â °Í°ú µ¿ÀÏ echo "(unset) variable = $variable" # $variable ´Â ³Î. exit 0