Re: running a script with tcpserver
Payal Rathod <[email protected]>
| Newsgroups | gmane.comp.misc.pape.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Aug 23, 2004 at 10:54:29AM -0400, Payal Rathod wrote: > Hi, > I want to make and run a simple script on port say 1234 which will > print output of ls -l /usr/designs when user types "name" and > exit if something else. > Something like, > > if [ "$1" = "name" ] A correction here. It should say $var where $var is read from the user. -Payal