Results 1 to 6 of 6

Thread: help editing bashrc

  1. #1
    Join Date
    Sep 2012
    Beans
    7

    help editing bashrc

    Please advise as new to ubuntu12. I have installed Gnu radio and need to add an
    export PYTHONPATH=/x/y/z to bashrc, I can find file and read but cannot edit as not owner.
    How to get root privelage from GUI please.

    John 2E0KNJ

  2. #2
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: help editing bashrc

    Quote Originally Posted by johnknott View Post
    Please advise as new to ubuntu12. I have installed Gnu radio and need to add an
    export PYTHONPATH=/x/y/z to bashrc, I can find file and read but cannot edit as not owner.
    How to get root privelage from GUI please.

    John 2E0KNJ
    Lol, which .bashrc have you found? It should be the one in your own home folder. Press Ctrl-H to see hidden files.

  3. #3
    Join Date
    Nov 2008
    Beans
    Hidden!

    Re: help editing bashrc

    "How to get root privelage from GUI please."

    Open a terminal and enter:

    gksudo nautilus

    And welcome to the forums

  4. #4
    Join Date
    Apr 2012
    Beans
    Hidden!

    Re: help editing bashrc

    Hi, you have 2 .bashrc files, one in your home directory and one in root.

    to see the file in home directory...
    [CODE]ls -a .bashrc[CODE]
    to edit in your home directory....
    Code:
    gedit .bashrc
    to get into your root directory..
    Code:
    sudo -i
    to list .bashrc..
    Code:
    ls -a .bashrc
    to edit in root directory....
    Code:
    gksudo gedit .bashrc
    if this satisfies your question..please mark this as SOLVED
    Craving anchovy, herring and squid pizza.....with clam sauce

  5. #5
    Join Date
    Sep 2012
    Beans
    7

    Re: help editing bashrc

    Quote Originally Posted by Hadaka View Post
    Hi, you have 2 .bashrc files, one in your home directory and one in root.

    to see the file in home directory...
    [CODE]ls -a .bashrc[CODE]
    to edit in your home directory....
    Code:
    gedit .bashrc
    to get into your root directory..
    Code:
    sudo -i
    to list .bashrc..
    Code:
    ls -a .bashrc
    to edit in root directory....
    Code:
    gksudo gedit .bashrc
    if this satisfies your question..please mark this as SOLVED
    Thank you SOLVED had to use nano as gedit wanted display setting

  6. #6
    Join Date
    Aug 2011
    Location
    Melbourne, Australia.
    Beans
    Hidden!
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: help editing bashrc

    Quote Originally Posted by johnknott View Post
    Thank you SOLVED had to use nano as gedit wanted display setting
    John if you come back to this thread, you mark "Solved" using the thread tools at the top of page -
    PopularPages: A very handy Documentation Search Tool used by many.
    PopularPages Wiki Thread
    My New Blog

Tags for this Thread

Bookmarks

Posting Permissions

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