-
Junior Member
registered user
How to Edit .conf files then have them saved.
i need to change soem things in my .conf files so that i can add a samba user but there is no way to save the changes. Do i just have to open them, edit them, then just leave them open or is there some way to get this taken care of.
-
I use vi when i edit files on knoppix
do ctrl+alt+f2 so that you are in a shell as root, or "K" > Knoppix > root shell
then
Code:
vi /path/to/file.conf
then edit the file by going to the spot you want to edit and hit "i" to begin inserting text (you may need a quick refresher on vi first)
when you want to save to a read only file do this
yes you need the colon
hit escape first then
the ! on the end of write and quit should override the read-only on the file
Similar Threads
-
By totenengle in forum General Support
Replies: 2
Last Post: 07-09-2004, 03:39 AM
-
By t0rp3d0 in forum General Support
Replies: 1
Last Post: 07-29-2003, 09:48 PM
-
By pat reen in forum General Support
Replies: 3
Last Post: 07-02-2003, 02:13 AM
-
By Nesser in forum General Support
Replies: 2
Last Post: 03-27-2003, 01:16 AM
-
By Lars Jensen in forum General Support
Replies: 10
Last Post: 01-07-2003, 08:16 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Cisco GLC-FE-100FX-RGD 100BASE-FX SFP Transceiver Module
$17.99
Cisco Meraki MA-SFP-1GB-SX 1000BASE-SX SFP Transceiver Module
$24.99
Cisco GLC-GE-100FX 100BASE-FX SGMII SFP Transceiver Module
$83.99
Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03
$8.00
Finisar FCLF-8521-3 SFP transceiver,
$8.99
Lot of 10 - HP 10Gb SR SFP+ Transceiver 455883-B21 455885-001 456096-001 850nm
$23.99
Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC
$13.89
LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module
$89.00
SFP-10G-SR V03 Original CISCO 10-2415-03 850nm 10GBASE-SR SFP+ Multi mode Module
$6.80