-
Junior Member
registered user
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
-
Senior Member
registered user
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.
-
Senior Member
registered user
Re: adding path
" jstar " is the editor I use, and IIRC it's on the CD. Text-based and wordstar key bindings.

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
-
Junior Member
registered user
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
-
Senior Member
registered user
-
Junior Member
registered user
Similar Threads
-
By moon in forum General Support
Replies: 0
Last Post: 01-23-2008, 08:26 PM
-
By A. Jorge Garcia in forum General Support
Replies: 7
Last Post: 09-05-2005, 06:40 PM
-
By roustabout in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 06-25-2005, 12:54 PM
-
By hesa666 in forum MS Windows & New to Linux
Replies: 0
Last Post: 05-22-2005, 06:38 PM
-
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
-
Forum Rules

Fujinet 1.7.1 Atari 400 800 800XL 130XE 65XE XEGS Assembled, Tested, Working
$99.99

Atari 400 / 800 Computer Memory Module 16K RAM PCB CX853 - Works Perfectly
$18.95

Atari 1200XL Computer Game Console Vintage Rare FOR PARTS OR REPAIR READ
$270.00

Atari 400 Home Computer System includes Power Cord G2U
$159.99

Atari 800 48K 8-bit Computer System With Power Supply & Extras Tested & Working
$354.98

Atari 1200 XL home computer with original owners guide and power supply power on
$255.00

Vintage Atari 1050 Disk Drive w/ SIO Cable & 32 Games/Programs - UNTESTED
$67.76

Atari 800XL Home Computer 64K RAM in Original Box 1984 Olympic Edition Untested
$149.99

GreaseWeazle v4 board USB floppy drive adapter Retro All Formats
$35.00

DEFECTIVE Atari 810 Vintage Computer Disk Drive powers on Unit Only Boo G3D
$49.29