---
title: "Discussion on \"Shell Scripting Read User Input\" | Hashnode"
description: "Discussion on \"Shell Scripting Read User Input\". #!/bin/bash\necho \"Enter Name : \"\nread name\necho \"Entered name : $name\"\nmultiple input\n#!/bin/bash\necho \"Enter Name : \"\nread name1 name2 name3\necho \"names : $name1,$name2,$name3\"\nModel:3\n#!/bin/bash\nread-p'username:'user_var\necho\"username:$user_var\"\nM..."
url: "https://hashnode.com/posts/shell-scripting-read-user-input/64a301c4e01e68d3cd55d9da"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Shell Scripting Read User Input](https://sundarpalanivel.hashnode.dev/shell-scripting-read-user-input?utm_source=hashnode&utm_medium=feed)

#!/bin/bash echo "Enter Name : " read name echo "Entered name : $name" multiple input #!/bin/bash echo "Enter Name : " read name1 name2 name3 echo "names : $name1,$name2,$name3" Model:3 #!/bin/bash read-p'username:'user\_var echo"username:$user\_var" M...

Jul 3, 2023 · 1 min read · sundarpalanivel.hashnode.dev  
Updated Dec 15, 2023  
Read the article

-   [#shell-scripting-read-user-input](https://hashnode.com/tag/shell-scripting-read-user-input)

## Written by

[Sundar blog](https://hashnode.com/@sundarvel)

@sundarvel · Chennai

  
[View profile](https://hashnode.com/@sundarvel)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
