help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to have Bash alias on variable name


From: Budi
Subject: How to have Bash alias on variable name
Date: Sun, 10 Sep 2023 04:02:29 +0700

How do we have Bash alias for variable name e.g.

 VAR=99

 alias n=VAR

 echo $n

 # should show 99 but can't


One sincerely help



reply via email to

[Prev in Thread] Current Thread [Next in Thread]