This blog covers Unix system administration HOWTO tips for using inline for loops, find command, Unix scripting, configuration, SQL, various Unix-based tools, and command line interface syntax. The Unix OS supports tasks such as running hardware, device drivers, peripherals and third party applications. Share tips/comments. Read the comments. But most importantly: Read Disclaimer - Read Disclaimer.
Sunday, December 03, 2006
Append an Entry to a File
There are many situations in which you may want to append an entry to a file. Here are two ways of doing it.
#echo "138.123.34.12 myhost" >> /etc/hosts #cat >> /etc/hosts "138.123.34.12 myhost" (hit enter) then execute a control d
No comments:
Post a Comment