|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - Miscellaneous Questions about SUSE Linux that don't fit anywhere else |
|
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Check /etc/fstab and post what it says. You should just be able to do:
Code:
vim /etc/fstab Code:
:q Code:
:wq |
|
|||
|
I'll have to do that tonight after I get off from work and I'll also try some of the other options.
|
|
|||
|
Just a few things if you want to try the other suggestions. When you want to create a directory use: mkdir. What you asked above would look like this:
Code:
mkdir /Windows/C Code:
vim /etc/fstab Code:
/dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0 |
|
|||
|
[/QUOTE] CODE
/dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0 Then use :wq to write to file and exit. It is best if you going into the terminal/konsole and become superuser. do I hit enter then type wq? or do I hit the spacebar then wq, then enter? also, is vim the command used to edit directories? |
|
|||
|
Vim is the command to use the text editor Vi Enhanced. When you are in Vim, you will need to hit Insert in order to add a line. Once the line is added, hit Esc. This will bring you back to a Read-only type mode. then all you do is type :wq and hit enter after and the file will be written.
|
|
|||
|
If you find the vi or vim editor as difficult and non-intuitive as I do, you might want to give "pico" a try.
|
|
|||
|
Is pico good? I've used nano and vim. I think the easiest of the 2 is nano but I haven't looked for a Suse version yet. Anyway, mgardner is right. You don't need to use vim if you are used to or want to try something else.
|
|
|||
|
that's exactly what I needed. I will try those tonight. Thanks!
|
|
|||
|
I think pico and nano might be similar or the same, sort of like vi and vim. Pico came with SUSE 9.0, but I can't remember if it came with Personal or if I got it from the Pro disks. Like vim, it is a console based text editor, but you use the arrow keys to move around, and Ctrl keys for scrolling, searching, and other functions.
I remember in '94 I took a Fortran programming class. We wrote our programs on Unix terminals (no GUI), and were forced to learn the vi editor. Gawd, I hated it (although it does come in handy now when I run "crontab -e" and it pops up the vi editor by default). My first day in in front of the terminal was spent learning vi instead of learning to program. I just assumed it was the only text editor available, otherwise they would've given us the choice, right? Then someone else told me about pico, and needless to say I used it for the remainder of the class. I've heard from countless geeks and programmer types that "vi" is the greatest thing since sliced bread, but I just don't get it. |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|