[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Looking for trouble.



> 3) I tried to create some scripts, very simple ones, but they refuse to
> run, or the system says "command not found." Example:
> 
> #! /bin/bash
> #
> echo The time and date is..
> date
> 
> Saved as "telltime," then mode changed with chmod -v u+x telltime. With cat
> I can still see the contents of the file as plain text. Is this normal?
> As said, when executing "telltime" the system returns "command not found."
> I know that you have to watch the path, but even when I put this script in
> / or /bin it still won't run, while installed commands like "date" do run
> from almost every directory. What do I do wrong?


Reply to: