-
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
Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive
$29.99
WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F
$25.00
WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN
$49.99
Western Digital 4TB WD Purple Surveillance HDD, Internal Hard Drive - WD43PURZ
$96.99
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$89.99
HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD
$69.99
2TB 3.5" HDD Sata Mixed Brands hard drive Tested Formatted
$18.99
2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive
$26.89
WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN
$209.99
Seagate Exos X22 ST22000NM001E 22TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive
$311.99