Try to search your question here, if you can't find : Ask Any Question Now ?

what is difference in `declare -r` and `readonly` in bash?

HomeCategory: stackoverflowwhat is difference in `declare -r` and `readonly` in bash?
sourav asked 7 days ago

In bash, what is the difference in declare -r and readonly?

$ declare -r a="a1"
$ readonly b="b1"

I’m not sure which to choose.

1 Answers
Best Answer
Arben answered 7 days ago
Your Answer

15 + 5 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com