LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Adding a line to file (https://www.linuxquestions.org/questions/linux-general-1/adding-a-line-to-file-297219/)

mikz 03-03-2005 12:29 PM

Adding a line to file
 
How do I add a line to the end of a file from the command prompt.? For example
add 'fetchmail -d 60 to rc.local.

mikshaw 03-03-2005 12:34 PM

echo "fetchmail -d 60" >> /etc/rc.d/rc.local

caps_phisto 03-03-2005 12:35 PM

echo fetchmail -d 60 >> rc.local

Have fun!


All times are GMT -5. The time now is 04:38 AM.