-
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
DEC DIGITAL Equipment Corp VT220-D2 Vintage CRT Terminal
$215.00
Digital Equipment Corporation DEC-2000 Vintage Keyboard - NOS NEW in Plastic
$129.95
DEC PDP 8/M PDP 8M / 4 avail / Vintage Digital Equipment Corp /Also DEC PDP 12
$5775.00
Rare Vintage DEC DIGITAL DFO3 modem with manual Powers up but UNTESTED
$69.95
Vintage DEC Digital RX 180 AB Dual 5.25" Disk Drive
$149.00
Vintage Digital DEC dfo1 Acoustic Coupler modem Anderson Jacobsen Mod# A242 RARE
$195.95
Vintage DEC/CLEARPOINT INC. -QRAM-2 SAB-1 1MB Q-BUS MEMORY MSV11-QA (B2)
$129.99
Vintage DEC Digital HiNote VP TS30G Laptop AS-IS READ Tested with external mon
$80.00
VINTAGE DEC Digital RK11-D DISK CONTROL M7255 PDP 11 (B1)
$129.99
Vintage DEC Digital M8048 5013995C PDP-11 LSI 11 ROM (B3)
$79.99