Hi
please help me...
I'm trying to run a script written by a friend:
#!/bin/bash
for aStat in ....
do
....
done
when coping the script to the terminal I get:
/bin/bash: Event not found.
for: Command not found.
do: Command not found.
I read the post https://forums.macrumors.com/threads/1072580/
however when coping into terminal:
export PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
I got:
export: Command not found.
what am I doing wrong?
Thanks alot!
please help me...
I'm trying to run a script written by a friend:
#!/bin/bash
for aStat in ....
do
....
done
when coping the script to the terminal I get:
/bin/bash: Event not found.
for: Command not found.
do: Command not found.
I read the post https://forums.macrumors.com/threads/1072580/
however when coping into terminal:
export PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
I got:
export: Command not found.
what am I doing wrong?
Thanks alot!