Results 1 to 6 of 6

Thread: adding path

Hybrid View

  1. #1
    Junior Member registered user
    Join Date
    Oct 2004
    Posts
    11

    adding path

    hi,

    i am a newbie to knoppix

    These are the instructions to be carried out in red hat linux. how can this be done in knoppix.
    Do u have to open bashrc file to do this? I see the command is different from the red hat.


    9. Put /root/ns/ns-allinone-2.27/bin into your PATH environment by editing the .bash_profile at root directory by typing: gedit .bash_profile
    10. You will most like encounter a line: PATH=$PATH:$HOME/bin:
    11. Add in your path for ns2 to the above line: PATH=$PATH:$HOME/bin:/root/ns/ns-allinone-2.27/bin:
    12. You are ready to run ns2.

    Please help me. thank you

  2. #2
    Senior Member registered user
    Join Date
    Oct 2004
    Posts
    260
    You can type "less .bash_profile" in a shell to see what that file looks like and if you have it.
    I don't think knoppix comes with gedit-does it? I'm not in knoppix right now.
    I seem to edit bashrc, xinitrc, and profile files all the time in osx darwin but not linux.
    Anyway it is possible to do this without editing the file by typing the line you supplied
    PATH=$PATH:$HOME/bin:/root/ns/ns-allinone-2.27/bin: <enter>
    and then issuing "export PATH" <enter> That's only suppose to last for the time that terminal is open.
    Probably editing the file with a text editor that you have practiced on will work best for you.
    Take a look at kedit.

  3. #3
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: adding path

    " jstar " is the editor I use, and IIRC it's on the CD. Text-based and wordstar key bindings.

    Quote Originally Posted by roustabout
    hi,

    i am a newbie to knoppix

    These are the instructions to be carried out in red hat linux. how can this be done in knoppix.
    Do u have to open bashrc file to do this? I see the command is different from the red hat.


    9. Put /root/ns/ns-allinone-2.27/bin into your PATH environment by editing the .bash_profile at root directory by typing: gedit .bash_profile
    10. You will most like encounter a line: PATH=$PATH:$HOME/bin:
    11. Add in your path for ns2 to the above line: PATH=$PATH:$HOME/bin:/root/ns/ns-allinone-2.27/bin:
    12. You are ready to run ns2.

    Please help me. thank you

  4. #4
    Junior Member registered user
    Join Date
    Oct 2004
    Posts
    11
    hi,


    in the terminal write:
    PATH="/home/knoppix/ns/ns-allinone-2.28/bin" <enter>
    export path <enter>

    but this is only temporary afte i closed the shell for that particular session and start a new shell. I have to retype it again. How can i make it permanent?


    thank youi

  5. #5
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041
    ' jstar .bash_profile '

  6. #6
    Junior Member registered user
    Join Date
    Oct 2004
    Posts
    11
    For detail instruction follow the url betllow


    http://www.knoppix.net/forum/viewtop...b6a2ddf38fcd92

Similar Threads

  1. Mystery path ~/.dist/bin
    By moon in forum General Support
    Replies: 0
    Last Post: 01-23-2008, 08:26 PM
  2. Installing jdk 1.5 and setting path
    By A. Jorge Garcia in forum General Support
    Replies: 7
    Last Post: 09-05-2005, 06:40 PM
  3. path environment
    By roustabout in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-25-2005, 12:54 PM
  4. Path to programs
    By hesa666 in forum MS Windows & New to Linux
    Replies: 0
    Last Post: 05-22-2005, 06:38 PM
  5. Setting Java PATH
    By furryfren in forum General Support
    Replies: 2
    Last Post: 04-21-2005, 03:43 AM

Posting Permissions

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


Windows XP, Vista, 8.1, Linux Knoppix, Office XP,  (6 CDS) picture

Windows XP, Vista, 8.1, Linux Knoppix, Office XP, (6 CDS)

$10.00



KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit picture

KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit

$19.99



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$5.99



KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED picture

KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED

$11.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$20.85



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$21.42



VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION) picture

VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION)

$7.57



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$8.00



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$7.00



Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006 picture

Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006

$33.58