The following will print your working directory: cat <<eof `pwd` eof while this will print the line "`pwd`": cat <<\eof `pwd` eof as documented in sh(1) in the System V programmer's manual.