mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Dec. 29 2004,05:55 |
|
ok then, I wasn't aware that you were running it as root. Instead of "$HOME/`basename $DOCDIR`" it could be "/home/dsl/`basename $DOCDIR`". When you said that the symlink was put in the root directory I thought you meant '/' when you actually meant '/root'. That makes sense.
Variables, in my opinion, are the most useful element in scripting. Not only do they allow you to easily modify set values in scripts, but they are also used a lot when you need to get a value which may vary depending on the environment, hence the name 'variable'. I had my first taste of them doing actionscript in Flash 4. After doing several projects with Flash3 (no variables) and making everything linear and specific, the introduction of variables opened up a whole new world of user interaction.
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|