Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

To Create a NEW FILE:

Note: Without quotes around EOL it will expand variables vs put them in script!.

cat << 'EOL' >/tmp/filename
echo "this will be the first and only line in /tmp/filename"
EOL
cat << EOL >/tmp/filename
echo "this will be the first and only line in /tmp/filename"
EOL
  • No labels