anyway prob anyway[/code]/usr/local/sbin/sfgxi : line 1: !DOCTYPE: No such file or direstory
: line 2: syntax error near unexpected token ‘newline’
: line 2: ’ “http://www.w3.org/TR/html14/strict.dtd”>'[/code]
Thanks, nice catch. Let me point out though that once something is in your path, e.g. /usr/local/bin, you don’t have to give the whole path to the program. For instance, /usr/local/bin/someapp can be typed as simply someapp for the same result.
Not exactly… /usr/local/bin and /usr/local/sbin are both already in your path by default. Putting the script in either directory therefore puts it in your path too, meaning its accessible from the command line without needing to type an absolute path. Granted, the script/binary needs to be executable before you can run it that way, but I hope you get what I’m saying.
I don’t really memorize things very often, I just try to understand the principles instead. Once one understands the function, the form becomes evident.