shell scripts in Ubuntu
Asked by
allchin
HI,
trying to run a borne or c shell script but can get the system to accept and run it, have done chmod +x to the file but is comes up with the following message, the script is call fred
allchit@
-rwx--x--x 1 allchit allchit 29 2008-01-13 20:30 fred*
allchit@
bash: fred: command not found
allchit@
the file fred contains the following, basically just trying to get it to work
#!/bin/sh
echo "Hello World"
any ideas please,
regards, Trevor
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Vojtěch Trefný
- Solved:
- Last query:
- Last reply:
To post a message you must log in.