Help - Search - Members - Calendar
Full Version: Adding ./ To The Path?
Linuxhelp > Support > Technical Support
Chibix
Is it possible to add the current directory to the end of the list of places linux checks when I type in a command? I know that DOS has this enabled by default, and it seems more natural personally, than typing ./, as I haven't been typing ./ in DOS for the last 13 years. What would this break, if I made it so in Linux? How can I enable that for this session, and how, for every session?
Chibix
Topic number two!

libiconv is preventing the installation of a buncha things. other things are stopped by sdl.

I managed to get Java installed, and xmms too, but I had to do it from the CLI. WebStart still won't work, and that's sad. I refuse to believe that Lindows is better than Mandrake! I am updating the OS at the moment though. Slowly but surely. Mayhaps there's a faster server I should be using.

speed = 0. Perhaps indeed!
gregmac
It is generally considered a bad thing to have the current directory in the path.

http://www.faqs.org/faqs/unix-faq/faq/part...section-13.html

Really, its just for security reasons. It's also fairly handy to be sure you know you're running something in the current directory.

That said, you can add the current directory (as in, . ) to the path by editing your .bashrc file (or equivalent if you use some other shell).

You do get used to it though. The majority of the time, you're not running things out of the current directory anyways.
Hemant
edit ypur ~/.bashrc file and put following lines in it:
CODE
......
......
PATH=$PATH:$HOME/bin:.
export PATH


this should work
hughesjr
If you have java installed, use javaws to run jnlp porgrams.

In mozilla, use it as a helper program ... javaws in located in your JRE's bin directory.

If you're not sure where that is ... run these commands:

updatedb

and when that is finished, run:

locate javaws

When you get the full path to javaws ... go into mozilla and add it as a helper program for .jnlp files.

Lindows isn't better than anything ... IMHO !
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.