KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to do a simple question in bash: Do you want to do that? [Y,n] _ Tried echo "Do that? [Y,n]" read DO_THAT if ["DO_THAT"="y"]; then do_that fi but it fails: bash: [y=y]: command not found what am I doing wrong??!
Tags (comma-separated)
Save Edits
Cancel