Find the answer to your Linux question:
Results 1 to 3 of 3
Hi pals as my first post here,I have three questions. I have fedora core v4(a little out of date) 1-how can i add a path to the PATH variable that ...
  1. #1
    Just Joined! D-ante's Avatar
    Join Date
    Mar 2009
    Posts
    6

    A question about PATHs.

    Hi pals
    as my first post here,I have three questions.
    I have fedora core v4(a little out of date)
    1-how can i add a path to the PATH variable that it remains there even when I shut the linux down?
    2-Is
    /usr/bin
    an important directory?can i remove it from PATH variable without having a problem?
    3-how can i make linux to execute a command or a bunch of commands when i log on or open a terminal?
    thanks a lot and in advanced.

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    1. you can either add it to ~/.bashrc or /etc/profile, just edit one of those files and add it

    2. If you removed that from path you would not have any user applications on your path and things would get quite hectic, i would highly recommend against it

    3. the contents of ~/.bashrc and /etc/profile are sourced into any new terminal that is created, so if you put some commands in that they should get run when you login to console or open a new terminal

    I should note, all of this only applies if you are using bash as your default shell

  3. #3
    Just Joined! D-ante's Avatar
    Join Date
    Mar 2009
    Posts
    6
    I don't know you know or no but there is a Qt designer v3.3.4 installed on fedora core v4 by default.that caused me some troubles.i checked it in the add/remove section but i couldn't find it.how can i remove it?

Posting Permissions

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