{"id":63,"description":"bash: read inputs","tags":["bash","programming","shell"],"contents":["read var # gets the input from the user and assings to the variable \"var\"","read -p \"Prompt\" var # shows the prompt message","read -ps \"Prompt\" var # shows the prompt message, but keeps the input hidden.","# E.g.","# $ read -p \"Select: \" choice","# Select: 1","# $ echo $choice","# 1"]}
