Shell Scripting

Loop through lines of a file

while read line ; do
    echo $line
done < infile

Put a program into background, do not terminate even if logged out

nohup nice program &
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.