[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell
> All the files that should be "typed" are in that directory.
Are you SURE you really want to use the command "type"?
Maybe you want the command "file" instead?
"type" only works with executable files. If the files
in the directory do not have execute permissions then
the "type" command will fail. Try just typing a "type"
command from a shell prompt and you get the same error.
Then "chmod +x file" and try another "type" command and
it works.
I don't know exactly what you're trying to do, but I
really don't think "type" is the command you want.
"type" is only for commands, not regular files.
--------------------------------------------
Bruce Smith bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan 49093 USA
http://www.armstrong-intl.com/
--------------------------------------------