![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reading input from user | vadharah | Shell Programming and Scripting | 2 | 03-09-2008 10:35 AM |
| Help reading an input file in KSH | zilla30066 | Shell Programming and Scripting | 2 | 02-01-2007 06:45 AM |
| Script for reading an input file | gzs553 | Shell Programming and Scripting | 1 | 10-17-2006 06:55 AM |
| Reading input to create a variable in a script? | darthur | UNIX for Dummies Questions & Answers | 7 | 12-14-2001 01:12 PM |
| reading from input | nageshrc | Shell Programming and Scripting | 1 | 11-29-2001 06:15 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Try:
Code:
#!/usr/bin/sh echo "Enter reason" echo "> " read reason echo $reason >> access.log Code:
#!/usr/bin/sh /usr/ucb/echo -n "Enter reason > " read reason echo $reason >> access.log |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|