I'm sorry. I meant to say "a lightweight editor" (as opposed to a, much better, heavyweight one programmed in the Lisp language called Emacs.)
So. I propose you this: Type: "cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/backup-ifcfg-eth0" <hit the return key> to make a backup copy of the file before edits. Type: "vi /etc/sysconfig/network-scripts/ifcfg-eth0" <hit the return key> Use the down arrow to place your cursor where is seems fit. For example at the last line of the file. Hit the "i" key. This enters "insert" mode. Type your edits Hit the ESC key, and then the ":" key. This enters the command mode. When you hit : you'll hear a beep, that's ok. Type: "wq" <hit the return key> This will save the file. Alternative using nano, if your system offers the editor "nano" in addtion to "vi": Type: "cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/backup-ifcfg-eth0" <hit the return key> to make a backup copy of the file before edits. Type: "nano /etc/sysconfig/network-scripts/ifcfg-eth0" <hit the return key> Use the down arrow to place your cursor where is seems fit. For example at the last line of the file. Type your edits Hit Control-o (that is: hold the key printed control or ctrl, and press the "o" key at the same time) Hit the return key to save the file Hit Control-x to exit nano Then do type "cat /etc/sysconfig/network-scripts/ifcfg-eth0" <hit the return key> and you should see the file, now with your addition. HTH. ------------------------------------------------------------------------ epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=96158 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
