Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Adding bin tools

    Hello, I ran a shell script that placed some files in usr/local/arm-elf/bin and I am supposed to add that "Path" I succesfully did it in a terminal using the
    export PATH:..........:$PATH command but then I have to do that every time I open a terminal, according to the research that I have done I have to add a line to the /home/(usr)/.bash_profile file but I can't seem to get it to work.
    Here is the .bash_profile if it is any good! The underlined portion being what I added! The dir that I need to add is usr/local/arm-elf/bin/
    ANy help would be great!
    # .bash_profile

    # Initialize keychain if needed
    if [ -r $HOME/.ssh/identity -o -r $HOME/.ssh/id_dsa -o -r $HOME/.ssh/id_rsa ]; then
    if [ ! -d $HOME/.keychain ]; then

    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc

    # User specific environment and startup programs

    export PATH


    export PATH
    unset USERNAME

  2. #2
    Ok i figure it out I just had to put the $Path at the start instead of at the end!
    Thanks for the help that I know that I would have got!

Posting Permissions

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