Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Here Is The Dumbest Noobie Question You've Ever Seen

  1. #1

    Red face Here Is The Dumbest Noobie Question You've Ever Seen

    Let me preface this by saying that I am a complete noob (newb??) to the Linux universe. I have been using computers for a long time, and am pretty good with Windows. I started with DOS, so command line input doesn't bother me that much.

    Question: How do you edit files? This seems to be so inherent to Linux, but nowhere on the internet, or in any SUSE documentation can I discover how to do this! There are so many places that state ... add this line to your /etc/fstab ... , but nowhere, not even in the most basic tutorials, does it state how this is done.

    Can someone (slowly shaking their head and sighing deeply) walk me through this? Pretend your new blonde girlfriend needed to do this and you were walking her through it over the phone.

    For instance ( and I know this isn't correct )

    Step 1: Open a terminal. (or Yast, or whatever)
    Step 2: Type ??? to go to run level ?. (Or whatever)
    Step 3: Whatever

    Or, failing that, can anyone direct me to a website or literature that explains how one accomplishes this seemingly ubiquitous, mundane task in Linux that everyone (but me) knows how to do?

    Now the why -

    I would like to enable a 1.44 floppy on my machine. The BIOS knows it's there, and so does SUSE 10.3, but it won't mount the blasted thing. I have the (KDE 4) desktop icon, but when I try to mount from it, it reads the drive for a while, then returns mount: /dev/fd0 is not a valid block device or something like that.

    I think, from my research, that I need to add the line /dev/fd0 /media/floppy auto noauto,user,sync 0 0 to my /etc/fstab file, but I don't have any idea how to begin doing that.

    Any assistance would be greatly appreciated.

    Thank you all for even reading this.

  2. #2
    ab@novell.com NNTP User

    Default Re: Here Is The Dumbest Noobie Question You've Ever Seen

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Console-based editors: vi (very powerful, takes some time to learn),
    nano, pico, ed, etc.

    GUI-based editors( gedit, kate, etc.).

    To run in the GUI press Alt+F2 and type in the command. To run from the
    command line just use the command. 'vi' will always be there, emacs
    probably as well, and the others depend based on your distro as some
    favor some while some favor others. If you can learn 'vi' and/or emacs
    because they will be universal and are both powerful.

    Good luck.





    Masterbuilder wrote:
    | Let me preface this by saying that I am a complete noob (newb??)
    | to the Linux universe. I have been using computers for a long time, and
    | am pretty good with Windows. I started with DOS, so command line input
    | doesn't bother me that much.
    |
    | Question: How do you edit files? This seems to be so inherent to
    | Linux, but nowhere on the internet, or in any SUSE documentation can I
    | discover how to do this! There are so many places that state “... add
    | this line to your /etc/fstab ...” , but nowhere, not even in the most
    | basic tutorials, does it state how this is done.
    |
    | Can someone (slowly shaking their head and sighing deeply) walk me
    | through this? Pretend your new blonde girlfriend needed to do this and
    | you were walking her through it over the phone.
    |
    | For instance ( and I know this isn't correct )
    |
    | Step 1: Open a terminal. (or Yast, or whatever)
    | Step 2: Type “???” to go to run level ?. (Or whatever)
    | Step 3: Whatever
    |
    | Or, failing that, can anyone direct me to a website or literature that
    | explains how one accomplishes this seemingly ubiquitous, mundane task
    | in Linux that everyone (but me) knows how to do?
    |
    | Now the why -
    |
    | I would like to enable a 1.44 floppy on my machine. The BIOS knows
    | it's there, and so does SUSE 10.3, but it won't mount the blasted
    | thing. I have the (KDE 4) desktop icon, but when I try to mount from
    | it, it reads the drive for a while, then returns “mount: /dev/fd0 is
    | not a valid block device” or something like that.
    |
    | I think, from my research, that I need to add the line “/dev/fd0
    | /media/floppy auto noauto,user,sync 0 0” to my /etc/fstab file, but I
    | don't have any idea how to begin doing that.
    |
    | Any assistance would be greatly appreciated.
    |
    | Thank you all for even reading this.
    |
    |
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFIW+H93s42bA80+9kRAhEDAJ9euENkUF8mVURG6nDvMV34pPXM2wCfaHNh
    KXYteoVqZ+JiWHBC/NbLT+o=
    =L39U
    -----END PGP SIGNATURE-----

  3. #3

    Default Re: Here Is The Dumbest Noobie Question You've Ever Seen

    open a terminal
    and run
    Code:
    su (if this is a global file)
    gedit /path/to/file (on gnome) 
    kate /path/o/file (on kde)
    "If it ain't broke, find something wrong with it"

  4. #4

    Default Re: Here Is The Dumbest Noobie Question You've Ever Seen

    To run in the GUI press Alt+F2 and type in the command.

    What command???

  5. #5

    Default Re: Here Is The Dumbest Noobie Question You've Ever Seen

    Quote Originally Posted by some-guy View Post
    open a terminal
    and run
    Code:
    su (if this is a global file)
    gedit /path/to/file (on gnome) 
    kate /path/o/file (on kde)
    So I open Konsole.
    Log on as super user.
    Type: kate /etc/fstab

    Does the file open in a text editor? How do I save the changes?

  6. #6
    ab@novell.com NNTP User

    Default Re: Here Is The Dumbest Noobie Question You've Ever Seen

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Have you tried it?

    Good luck.






    Masterbuilder wrote:
    | some-guy;1821552 Wrote:
    |> open a terminal
    |> and run
    | Code:
    | --------------------
    | > > su (if this is a global file)
    | > gedit /path/to/file (on gnome)
    | > kate /path/o/file (on kde)
    | --------------------
    |
    | So I open Konsole.
    | Log on as super user.
    | Type: kate /etc/fstab
    |
    | Does the file open in a text editor? How do I save the changes?
    |
    |
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFIW/H93s42bA80+9kRAgktAJ9hB0iWPy0YPn6GbS5oEtZX9OtjpgCdHs1m
    9Vn00HiCJpEtzejx9ChHFJA=
    =gD5X
    -----END PGP SIGNATURE-----

  7. #7
    ab@novell.com NNTP User

    Default Re: Here Is The Dumbest Noobie Question You've Ever Seen

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    The commands mentioned above, same as the program names.

    Good luck.





    Masterbuilder wrote:
    | -To run in the GUI press Alt+F2 and type in the command.-
    |
    | What command???
    |
    |
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFIW/IR3s42bA80+9kRAomsAJsG5LqLnyC09c48Et04oFJQLIp21gCfcFG1
    2v6mHRDlkaZ31picTRpqnss=
    =BiHr
    -----END PGP SIGNATURE-----

  8. #8
    Join Date
    Jan 2008
    Location
    U.K East Anglia
    Posts
    2,581

    Default Re: Here Is The Dumbest Noobie Question You've Ever Seen

    kate is a text editor see here for some info on kate

    Andy
    To be is to do = Immanuel Kant
    To do is to be = Descartes.
    Do be do be do = Frank Sinatra

    SuSE user since 7.0,Linux user since 1994

  9. #9
    Uwe Buckesfeld NNTP User

    Default Re: Here Is The Dumbest Noobie Question You've Ever Seen

    On 06/20/2008 Masterbuilder wrote:
    > Question: How do you edit files?


    To add to what everybody else said and to confuse you even more:
    I like Midnight commander and its built in editor for easy tasks. If you remember Norton Commander from the old DOS days, you'll find it easy. It is a file manager, with an editor. Note you have to install it first, through Yast or whatever you use to install software. Search for "mc".

    Once it is installed, open a console and type "mc" without the quotes.

    Move around with the arrow keys. F3 will try and open a file for reading, F4 will open the editor.

    As for other editors: "vi" is installed on almost every Linux system by default, that's a big pro. Getting familiar with the basic commands isn't a big deal, and definitely worth the time spent.

    HTH
    Uwe


  10. #10
    Join Date
    Jan 2008
    Location
    Milwaukee, WI
    Posts
    197

    Default Re: Here Is The Dumbest Noobie Question You've Ever Seen

    MasterBuilder,

    You might want to have a look at The Rute Guide to Linux. It's an excellent set of training material, if a bit heady.

    http://rute.2038bug.com/index.html.gz
    I will not fear. Fear is the mind-killer. Fear is the little-death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. ... Where the fear has gone there will be nothing. Only I will remain.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •