Re: shell script experts pls help a lost soul

2001-03-04 Thread Dave Sherohman
On Sun, Mar 04, 2001 at 04:32:45AM -, john smith wrote: > 1. my script doesn't seem to display the script name together with > whoami..actually, what the script was supposed to do is when it is invoked, > it will display the user name together with the scriptname should the > scriptname get

Re: shell script experts pls help a lost soul

2001-03-03 Thread Ron Peterson
john smith wrote: > > hi, > > I am having some problems creating some sample scripts...hoping that > somebody can lend a helping hand. > > #!/bin/sh > if test -x $1 > then whoami; > echo $1 > fi > > Yes I know my script sucks but I'm just learning..anyway, my questions are: > > 1. my script do