Parse delimited input into multiple variables.
Section: Reading Input
Read delimited fields
bash
bash
IFS=: read -r user shell <<< 'root:/bin/bash'
echo "$user $shell"Explanation
Useful for colon, comma, or tab-separated data.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Reading Input