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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.