The shell script below creates a new file "foo.conf" with the content specified between the EOF tags.
#!/bin/sh
cat > foo.conf << EOF
DocumentRoot "./search.bin"
EOF
The created file contains the following content:
DocumentRoot "./search.bin"
But I need to have the full path of the current directory instead (where my shell script resides), for example:
DocumentRoot "/home/me/search.bin"
Is this even possible? Thanks in advance.