by default, the current working directory (CWD) is not in your $PATH so append a ./ to the command, so in this case ./removeCiv.sh
or you can modify your path, in /etc/profile (for bash and compadible shells) add export PATH=$PATH:. although it is somewhat of a security risk to have . in your path. depends how important security is to you nate On Wed, 5 Jan 2000, Cameron Matheson wrote: mathes >Hey, mathes > mathes >I can't get any of my scripts to work. I'm just trying to start simple, by mathes >making a script to delete all my FreeCiv save files. I use 'vi' and type mathes >the following: mathes > mathes > # !/bin/sh mathes > rm civgame* mathes > clear mathes > pwd mathes > ls -l mathes > mathes >Then I type "chmod u+x removeCiv.sh" to add execute permission to myself, mathes >but when i type "removeCiv.sh" at the prompt i get the error "bash: mathes >removeCiv.sh: command not found" mathes > mathes >How do I get my scripts to work? mathes > mathes >Thanks, mathes >Cameron Matheson mathes > mathes > mathes >-- mathes >Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null mathes > ----------------------------------------[mailto:[EMAIL PROTECTED] ]-- Vice President Network Operations http://www.firetrail.com/ Firetrail Internet Services Limited http://www.aphroland.org/ Everett, WA 425-348-7336 http://www.linuxpowered.net/ Powered By: http://comedy.aphroland.org/ Debian 2.1 Linux 2.0.36 SMP http://yahoo.aphroland.org/ -----------------------------------------[mailto:[EMAIL PROTECTED] ]-- 3:02pm up 139 days, 2:59, 3 users, load average: 1.58, 1.55, 1.54