Newline in bash
echo $'\n'
Or
echo -e '\n'
It seems simple, but of several options only one worked echo $'\n'
#!/bin/bash
echo "n"
echo $'\n'
echo \n
echo '\n'
n n \n
Article author: Andrei Olegovich
echo $'\n'
Or
echo -e '\n'
It seems simple, but of several options only one worked echo $'\n'
#!/bin/bash
echo "n"
echo $'\n'
echo \n
echo '\n'
n n \n
Article author: Andrei Olegovich