From: Jonathan Nielsen Date: 2010-05-19T09:55:40+09:00 Subject: Re: how to change ri1.8 to ri in shell command? On Tue, May 18, 2010 at 6:28 PM, Pen Ttt wrote: > ruby1.8 and ri1.8 were installed in my computer ,there is strange thing > : > pt@pt-laptop:~$ ri array > The program 'ri' is currently not installed.  You can install it by > typing: > sudo apt-get install ri > > when i input > pt@pt-laptop:~$ ri1.8 array > lots of output which is what i want > can i change ri1.8 in shell command to ri in my computer? > -- Well, if you install the 'ri' package in Ubuntu it installs a symbolic link for ri that points to ri1.8. If you don't want to do that, you could always make the symbolic link yourself: sudo ln -s `which ri1.8` /usr/local/bin/ri (note those are backticks, not quotes) -Jonathan Nielsen