linux bash variable yields 2 different values depending on scope?

后端 未结 0 1303
囚心锁ツ
囚心锁ツ 2020-12-22 03:41

"$name" yields 2 different values: ?

#!/bin/bash

name=whoami
$name                                 # $name yields {user} being me is "jdl&quo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题