Find the answer to your Linux question:
Results 1 to 6 of 6
How do you modify files in the filesystem directories? I can’t modify it in the graphical interface because I don’t know how to activate the administrator rights in the graphical ...
  1. #1
    Just Joined!
    Join Date
    Oct 2007
    Posts
    3

    how do i get from desktop to root filesystem folders?

    How do you modify files in the filesystem directories?

    I can’t modify it in the graphical interface because I don’t know how to activate the administrator rights in the graphical interface.

    So I went to the terminal, and ran $ sudo –s to get to root. But the problem is that I can only see desktop folder, and so can only change directories to the subsequent sub-directories of desktop folder, but I am not sure how to get into the filesystem folders to be able to modify the installed programs.

    CD command doesn’t seem to take me to that part of the filesystem. I’m sure this is a basic problem, and probably everyone knows how to get to the filesystem files.

    Thank you in advance.

  2. #2
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    You will need to bring the file up with an editor such as vi or nano, both command-line editors or kate or gedit, gui editors.
    I personally don't use gui editors, so I can't tell you how to use them.
    But if you want info on any of the editors I mentioned, just type
    man EDITOR
    Which file are you trying to edit?
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  3. #3
    Just Joined!
    Join Date
    Oct 2007
    Posts
    3
    Yes, I have Gedit, which I have successfully used before. I can modify files in the desktop directory without any problems.

    What I’m finding hard is to navigate to locate where the file that I want to modify is stored.

    When opening up terminal, I do ‘LS’ and see in blue: desktop, examples, install, projects.
    What I want to navigate to is in the computer filesystem/scratchbox/etc/ but that is not one of the directory options

    So how do I navigade to this folder? I can not see the folders I want to switch to in the options of folders.

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Which Linux Distro and Desktop Environment are you using?
    Press Alt+F2 and type this
    Code:
    gksu nautilus
    This will open Nautilus with root privileges and you will have permission to navigate and delete/edit/create anything anywhere. Be Careful.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Oct 2007
    Posts
    3
    thanks for the command, i was able to edit the file.
    out of interest: is there a way to navigate there in the terminal?

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    use cd command to navigate in Terminal.
    Code:
    cd /
    pwd
    Check linuxcommand.org for basic Linux commands.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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