-
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

TP-Link 5-Port Gigabit Unmanaged Ethernet Switch Network Expansion TL-SG105
$19.95

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play
$31.99

YuanLey 8-Port 10G Ethernet Switch, 6 x 10Gbps RJ45 Ports, 2X 10Gbe SFP+ Ports
$149.99

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch
$46.99

TP-LINK TL-SG108 8-Port Gigabit Unmanaged Desktop Switch RJ-45 New in Box
$23.99

Netgear PROSAFE 8-Port 10 Gigabit/Multi-Gigabit Ethernet Switch XS508M
$229.99

Linksys 8-Port Managed Gigabit PoE+ Switch 110W w/ 2 Uplink Gigabit - LGS310MPC
$49.05

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts
$69.00

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99

NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless
$22.00