Linux Terminal Glossary
›
Shell & Bash
read -p 'Enter value: ' VAR
Category:
Shell & Bash
read -p 'Enter value: ' VAR
Copy command
Prompt the user and read input into a variable
Displays a prompt to the user and waits for them to type something, storing their input in the variable.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.