Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Adding ./ To The Path?, How can I break linux next?!
Chibix
post Jul 21 2004, 08:35 PM
Post #1


Grub-er
**

Group: Members
Posts: 33
Joined: 16-July 04
Member No.: 3,364



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?


--------------------
QAFH:Quality Assurance manager From Hell

HW: AMD 2000+ (1667 Mhz)
VIA vt8233 chipset motherboard
Radeon 9200se 5964agp video
256mb ram
vt6102 Rhine ii 10/100 network card
Creative 5x DVD(5240e)

SW:
Linux Kernel 2.6.3-7mdk
Mandrake 10.0
KDE 3.2 (Feb 4th build)
Go to the top of the page
 
+Quote Post
Chibix
post Jul 21 2004, 08:56 PM
Post #2


Grub-er
**

Group: Members
Posts: 33
Joined: 16-July 04
Member No.: 3,364



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!


--------------------
QAFH:Quality Assurance manager From Hell

HW: AMD 2000+ (1667 Mhz)
VIA vt8233 chipset motherboard
Radeon 9200se 5964agp video
256mb ram
vt6102 Rhine ii 10/100 network card
Creative 5x DVD(5240e)

SW:
Linux Kernel 2.6.3-7mdk
Mandrake 10.0
KDE 3.2 (Feb 4th build)
Go to the top of the page
 
+Quote Post
gregmac
post Jul 21 2004, 09:31 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 21-July 04
Member No.: 3,396



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.
Go to the top of the page
 
+Quote Post
Hemant
post Jul 22 2004, 05:55 AM
Post #4


RMS is my Hero
******

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29



edit ypur ~/.bashrc file and put following lines in it:
CODE
......
......
PATH=$PATH:$HOME/bin:.
export PATH


this should work


--------------------
Hemant Kumar
user posted image
hemant@linuxhelp.net
Go to the top of the page
 
+Quote Post
hughesjr
post Jul 23 2004, 06:32 AM
Post #5


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



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 !


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th October 2017 - 11:43 AM