Grant asks:
> Thanks guys, can you tell me how to execute this? Put it in a file
> and './file' I think? Should I have special stuff at the top of the
> file?
Yes, a '#!/bin/bash', it you want top have thsi as a script. You need to
make it executable, too: chmod +x file
But you can also leave the #!/bin/bash out,l and call it like this: '. file'
or 'source file'. This acts as if you typed the commands directly in the
terminal.
Which would be the easiest way to do it: Just mark the stuff in your mail
program, ans paste it into you terminal.
Wonko
--
[email protected] mailing list