Sed replace new line with any text

Source: http://stackoverflow.com/questions/1251999/how-can-i-replace-a-newline-n-using-sed Replace with space: Use this solution with GNU sed:

Here is cross-platform compatible syntax which works with BSD sed (FreeBSD 8 confirmed):

Replace with double dash: Use this solutionRead More…


Nohup Alternative

Learned it from here http://stackoverflow.com/questions/6168781/how-to-include-nohup-inside-a-bash-script They use it to make current script daemoned but you can also make scripts that you run from within a script daemoned Instead of doing


whichRead More…