I'm knid of new to shell script programming. Not a newbie, but not a master either.
Could anybody tell me what's going on here?
I want to write a line that says the actual date in a file. The filename is stored in the variable $config
I added this command to the script:
Code:
echo date $(date) > $config
But when ir runs,I get this error message:
Code:
/sbin/dhclient-script: line 39: $config: ambiguous redirect
I'm writing a hook for dhclient-script
What's going on? I bet it's basic stuff