I have a scrip in my home folder named: logins
It is listed in my home folder as:
-rwxrwxr-x   1 hub hub      23 Jan 28 22:12 logins

logins contains the following:
#!/bin/sh
date ; who ;

This is what I get with the command:
$ logins
bash: logins: command not found

This is what I expected:
$ logins
Fri Jan 28 22:24:12 CST 2005
hub :0           Jan 17 17:37
hub pts/1        Jan 28 22:23 (:0.0)

I have tried changing the first line to #!/bin/bash
with the same results. I used vi to edit both versions.

The shell works for all the standard commands.

Where did I go wrong?

Thanks

--
Jerry Hubbard
[EMAIL PROTECTED]


_______________________________________________
CWE-LUG mailing list
http://www.cwelug.org/ [email protected]
http://lists.firepipe.net/listinfo/cwe-lug

Reply via email to