Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Miscellaneous
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Miscellaneous Questions about SUSE Linux that don't fit anywhere else

 
Page 3 of 4 12 3 4
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 17-May-2004, 11:37
69_rs_ss
Guest
 
Posts: n/a
Default

Check /etc/fstab and post what it says. You should just be able to do:
Code:
vim /etc/fstab
when you want to get out of it type:
Code:
:q
If you make any changes you save and exit by this command:
Code:
:wq
But if you can, post what is in your /etc/fstab file.
  #22 (permalink)  
Old 17-May-2004, 11:40
dubbrich
Guest
 
Posts: n/a
Default

I'll have to do that tonight after I get off from work and I'll also try some of the other options.
  #23 (permalink)  
Old 17-May-2004, 11:50
69_rs_ss
Guest
 
Posts: n/a
Default

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
You will then be in a texteditor with the file open. Add this line:
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.
  #24 (permalink)  
Old 17-May-2004, 12:17
dubbrich
Guest
 
Posts: n/a
Default

[/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?
  #25 (permalink)  
Old 17-May-2004, 12:22
69_rs_ss
Guest
 
Posts: n/a
Default

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.
  #26 (permalink)  
Old 17-May-2004, 12:22
mgardner
Guest
 
Posts: n/a
Default

If you find the vi or vim editor as difficult and non-intuitive as I do, you might want to give "pico" a try.
  #27 (permalink)  
Old 17-May-2004, 12:37
69_rs_ss
Guest
 
Posts: n/a
Default

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.
  #28 (permalink)  
Old 17-May-2004, 13:55
dubbrich
Guest
 
Posts: n/a
Default

that's exactly what I needed. I will try those tonight. Thanks!
  #29 (permalink)  
Old 17-May-2004, 14:03
69_rs_ss
Guest
 
Posts: n/a
Default

Let us know if you have any problems tonight.
  #30 (permalink)  
Old 17-May-2004, 14:38
mgardner
Guest
 
Posts: n/a
Default

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.
 
Page 3 of 4 12 3 4

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2