![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shell script getting input from output | aspect_p | Shell Programming and Scripting | 1 | 03-11-2008 07:37 AM |
| Input to shell script | castlerock | Shell Programming and Scripting | 3 | 04-03-2006 06:26 AM |
| Shell script with input parameter | jhmr7 | UNIX for Dummies Questions & Answers | 1 | 07-13-2005 01:04 AM |
| Masking input in a shell script | Spetnik | UNIX for Dummies Questions & Answers | 2 | 12-29-2003 03:12 PM |
| single input shell script? | quipy | Shell Programming and Scripting | 1 | 10-03-2002 09:18 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
shell script with input
Hi all,
Here is my shell script Code:
#!/bin/sh
echo "What is your name"
read name
echo "What is your surname"
read surname
echo "Your name is:${name} and your surname is:${surname}"
Code:
./script.sh Code:
./script.sh first last |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|